Commit 0dac237c authored by Robert Ricci's avatar Robert Ricci

Change the arguments to xterm to support (older?) xterms that seem

to pass the whole -e argument to execvp, if it's quoted as a single
string.
parent ec26de8d
......@@ -87,9 +87,9 @@ if (!defined($hostname)) {
# Exec an ssh.
#
if (!defined($gateway)) {
exec "xterm -T $hostname -e 'ssh $port $login $hostname || read userinput'";
exec "xterm -T $hostname -e ssh $port $login $hostname \|\| read userinput";
}
else {
exec "xterm -T $hostname -e 'ssh $login -tt $gateway ".
"ssh -o StrictHostKeyChecking=no $port $hostname || read userinput'";
exec "xterm -T $hostname -e ssh $login -tt $gateway ".
"ssh -o StrictHostKeyChecking=no $port $hostname \|\| read userinput";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment