aboutsummaryrefslogtreecommitdiffstats
path: root/got
diff options
context:
space:
mode:
Diffstat (limited to 'got')
-rwxr-xr-xgot4
1 files changed, 2 insertions, 2 deletions
diff --git a/got b/got
index ba8a41a..58972c9 100755
--- a/got
+++ b/got
@@ -31,7 +31,7 @@ if [ "$1" = "-" ]; then
{
read user
if [ ! "${user/@/}" = "${user}" ]; then
- export GOT_COMMAND="ssh ${user}"
+ export GOT_COMMAND="@ssh@ ${user}"
login -p -f @sshlogin@
elif [ "${user::1}" = "-" ]; then
stty -icanon -echo -isig -ix{on,off,any}
@@ -65,7 +65,7 @@ else
# cannot get any other solution to work with `login`
# then to spawn a new process with pipes preset
- tty="/dev/$1"
+ tty="@dev@/$1"
tty_settings="$(stty --save)"
"$0" - "$@" > "${tty}" 2> "${tty}" < "${tty}"
stty "${tty_settings}"