summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/tokssh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tokssh b/scripts/tokssh
index 8169bdd..22a5f0b 100755
--- a/scripts/tokssh
+++ b/scripts/tokssh
@@ -71,12 +71,12 @@ then
71 # last argument is user@toxid 71 # last argument is user@toxid
72 user="${arruserhost[0]}@" 72 user="${arruserhost[0]}@"
73 toxid=${arruserhost[1]} 73 toxid=${arruserhost[1]}
74 hostname=localhost 74 hostname=$toxid
75else 75else
76 # last argument is just toxid 76 # last argument is just toxid
77 user="" 77 user=""
78 toxid=$userhost 78 toxid=$userhost
79 hostname=localhost 79 hostname=$toxid
80fi 80fi
81 81
82#search toxid in ~/.tuntox/hosts and map it to toxid 82#search toxid in ~/.tuntox/hosts and map it to toxid