From: Mark Wooding Date: Mon, 31 Dec 2012 05:31:38 +0000 (+0000) Subject: hacks/ssh: Fix stupid behaviour when hostname is `t'. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/af844120a406582a0fa70e7dd1b119cad774161e?hp=eff455a10e9f7ca9d3e14145e62adea14db92dc1 hacks/ssh: Fix stupid behaviour when hostname is `t'. --- diff --git a/hacks/ssh b/hacks/ssh index d8a46a4..64df966 100755 --- 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