aboutsummaryrefslogtreecommitdiff
path: root/rex
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-08-26 19:28:52 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2016-08-26 19:28:52 +0300
commit2f7621ae0e148e5af34e8f4f46f60bb15d21fc33 (patch)
tree26500a2d38056da94da60190771df615cb9c80fa /rex
parent7c31dcc721dbfe7bf145ef5a130373330ccd9af4 (diff)
downloadrex-2f7621ae0e148e5af34e8f4f46f60bb15d21fc33.tar.gz
rex-2f7621ae0e148e5af34e8f4f46f60bb15d21fc33.tar.bz2
Use exit instead of logout
Diffstat (limited to 'rex')
-rwxr-xr-xrex2
1 files changed, 1 insertions, 1 deletions
diff --git a/rex b/rex
index b8465e7..555c0ad 100755
--- a/rex
+++ b/rex
@@ -1152,7 +1152,7 @@ proc runcmd {hosts command} {
-re $config(prompt) {
set sid $expect_out(spawn_id)
- send -i $sid "logout\r"
+ send -i $sid "exit\r"
set sidinfo($sid,state) LOGOUT
}

Return to:

Send suggestions and report system problems to the System administrator.