work script
This commit is contained in:
@ -13,7 +13,7 @@ gcertstatus || gcert
|
||||
|
||||
# Just keep reconnecting upon failure
|
||||
while [ 1 ]; do
|
||||
ssh -t $host $SSH_OPTS "$tmux_cmd"
|
||||
ssh $host -t $SSH_OPTS "$tmux_cmd"
|
||||
|
||||
# Don't reconnect if disconnection not due to error (i.e., user detached)
|
||||
if [ $? -eq 0 ]; then break; fi
|
||||
|
Reference in New Issue
Block a user