diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-30 19:47:59 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-30 19:47:59 +0200 |
| commit | 3a3b983fe9eb74182502c45fe58477252c1b2446 (patch) | |
| tree | b12651793087e6406ca5b26ca8cce7b718297443 /got | |
| parent | readd flexibility (diff) | |
| download | gates-of-tartaros-3a3b983fe9eb74182502c45fe58477252c1b2446.tar.gz gates-of-tartaros-3a3b983fe9eb74182502c45fe58477252c1b2446.tar.bz2 gates-of-tartaros-3a3b983fe9eb74182502c45fe58477252c1b2446.tar.xz | |
no need for an extra user to use ssh
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'got')
| -rwxr-xr-x | got | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,8 +58,8 @@ login_function=_login function _login { if [ ! "${user/@/}" = "${user}" ]; then - export GOT_COMMAND="@ssh@ ${user}" - setsid -c login -p -f @sshlogin@ + setsid -c @ssh@ ${user} || sleep 3 + # The sleep allows you to see any error you made elif [ "${user::1}" = "-" ]; then stty -icanon -echo -isig -ix{on,off,any} echo $'\e[01;31mNice try! Sleeping for 10 minutes...\e[00m' |
