hacks/ssh: Fix stupid behaviour when hostname is `t'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 31 Dec 2012 05:31:38 +0000 (05:31 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 31 Dec 2012 05:31:38 +0000 (05:31 +0000)
hacks/ssh

index d8a46a4..64df966 100755 (executable)
--- a/hacks/ssh
+++ b/hacks/ssh
@@ -146,7 +146,7 @@ while :; do
 
     ## A bare word.  Maybe it's the hostname, or the start of the command.
     *)
-      case ${host-t} in
+      case ${host-t}${host+nil} in
        t) host=$1 ;;
        *) break ;;
       esac