diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-14 07:32:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-14 07:32:54 (GMT) |
commit | 0776c036bc35c367549578f6293956a80f20ac6e (patch) | |
tree | 2d983b44c38b9f3206ad8ee2874349e38e984b25 /library/platform/shell.tcl | |
parent | b1856533641e3211ef6e5b973ef1b0ea065c20ea (diff) | |
parent | 9e832d51f5cf8e1317b58eae1f0b7ded6e0b198d (diff) | |
download | tcl-0776c036bc35c367549578f6293956a80f20ac6e.zip tcl-0776c036bc35c367549578f6293956a80f20ac6e.tar.gz tcl-0776c036bc35c367549578f6293956a80f20ac6e.tar.bz2 |
more readable
Diffstat (limited to 'library/platform/shell.tcl')
-rw-r--r-- | library/platform/shell.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/platform/shell.tcl b/library/platform/shell.tcl index e0a129a..d37cdcd 100644 --- a/library/platform/shell.tcl +++ b/library/platform/shell.tcl @@ -187,7 +187,7 @@ proc ::platform::shell::TEMP {} { } } } - if {[string compare $channel ""]} { + if {$channel != ""} { return -code error "Failed to open a temporary file: $channel" } else { return -code error "Failed to find an unused temporary file name" |