aboutsummaryrefslogtreecommitdiff
path: root/lib/remote.exp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/remote.exp')
-rw-r--r--lib/remote.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/remote.exp b/lib/remote.exp
index 4ccdb6f..4de8900 100644
--- a/lib/remote.exp
+++ b/lib/remote.exp
@@ -208,8 +208,8 @@ proc local_exec { commandline inp outp timeout } {
} else {
set status 0
}
- verbose "output is $output"
- if { $outp == "" } {
+ verbose "output is $output status $status"
+ if { $outp == "" || $outp == "|& cat" } {
return [list $status $output]
} else {
return [list $status ""]