diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-01-23 11:02:59 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2016-01-23 11:02:59 +1100 |
commit | 067c43d8d1ed2c5abf311197820c5da3400875c4 (patch) | |
tree | 552b53090634f8ac8256289c5ee4d7d06712975b /lib | |
parent | b01eabf8feb590128e5279b3ed191857c264adae (diff) | |
download | dejagnu-067c43d8d1ed2c5abf311197820c5da3400875c4.zip dejagnu-067c43d8d1ed2c5abf311197820c5da3400875c4.tar.gz dejagnu-067c43d8d1ed2c5abf311197820c5da3400875c4.tar.bz2 |
* lib/remote.exp (standard_file): Reverse return logic for remote
exists case.
Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/remote.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/remote.exp b/lib/remote.exp index 688680b..359cf31 100644 --- a/lib/remote.exp +++ b/lib/remote.exp @@ -766,7 +766,7 @@ proc standard_file { dest op args } { switch $op { exists { set status [remote_exec $dest "test -f $file"] - return [lindex $status 0] + return [expr [lindex $status 0] == 0] } delete { set file "" |