From 067c43d8d1ed2c5abf311197820c5da3400875c4 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 23 Jan 2016 11:02:59 +1100 Subject: * lib/remote.exp (standard_file): Reverse return logic for remote exists case. Signed-off-by: Ben Elliston --- lib/remote.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 "" -- cgit v1.1