diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-14 17:04:24 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-14 17:42:03 +1200 |
commit | 259e0d5821255195dfc7cd415175957cf4e6b59a (patch) | |
tree | 3716bee18d09a4ffe1dcc3578163dd9e722e9ca9 | |
parent | Use consistent if/for/while block syntax (diff) | |
download | psshd-259e0d5821255195dfc7cd415175957cf4e6b59a.tar.gz psshd-259e0d5821255195dfc7cd415175957cf4e6b59a.zip |
Change text syntax for port presence
-rwxr-xr-x | psshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ done shift "$((OPTIND-1))" # If no port, give up with usage instructions -if [[ ! -n "$port" ]]; then +if ! [[ "$port" ]]; then printf "USAGE: $0 -p <port number> -- <ssh arguments>\n" exit 1 fi |