diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-30 23:53:00 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-30 23:53:00 +0200 |
| commit | 29f1900b5ce0b37156881b672c3892ab18290877 (patch) | |
| tree | 238e5eeb77d53bf112778087899c5d5e0787cde7 /got | |
| parent | derp (diff) | |
| download | gates-of-tartaros-29f1900b5ce0b37156881b672c3892ab18290877.tar.gz gates-of-tartaros-29f1900b5ce0b37156881b672c3892ab18290877.tar.bz2 gates-of-tartaros-29f1900b5ce0b37156881b672c3892ab18290877.tar.xz | |
fix bug introduced with portability1380578140
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'got')
| -rwxr-xr-x | got | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ _login () if [ ! "${user%@*}" = "${user}" ]; then setsid -c @ssh@ ${user} || sleep 3 # The sleep allows you to see any error you made - elif [ "${user%%-*}" = "" ]; then + elif [ ! "${user}" = "" ] && [ "${user%%-*}" = "" ]; then stty -icanon -echo -isig -ix{on,off,any} echo -e '\e[01;31mNice try! Sleeping for 10 minutes...\e[00m' sleep 600 |
