aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-14 17:14:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-14 17:45:15 +1200
commit927bfac29d8ee472f3a1be8b9be021c87bcb61ed (patch)
tree32cde2e92e6e12b7bdbf951d2ccf6935acae7985
parentRemove unnecessary variable bracing (diff)
downloadpsshd-927bfac29d8ee472f3a1be8b9be021c87bcb61ed.tar.gz
psshd-927bfac29d8ee472f3a1be8b9be021c87bcb61ed.zip
Quoting unneeded in unary/lhs [[
-rwxr-xr-xpsshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/psshd b/psshd
index 0806bb8..7f6c923 100755
--- a/psshd
+++ b/psshd
@@ -48,7 +48,7 @@ done
shift $((OPTIND-1))
# If no port, give up with usage instructions
-if ! [[ "$port" ]]; then
+if ! [[ $port ]]; then
printf 'USAGE: %s -p <port number> -- <ssh arguments>\n' "$self"
exit 1
fi