diff options
Diffstat (limited to 'psshd')
-rwxr-xr-x | psshd | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -30,8 +30,7 @@ for cmd in "${cmds[@]}"; do done # Get port in options -while getopts ':p:' opt -do +while getopts ':p:' opt; do case "$opt" in p) port="$OPTARG" @@ -49,8 +48,7 @@ done shift "$((OPTIND-1))" # If no port, give up with usage instructions -if [[ ! -n "$port" ]] -then +if [[ ! -n "$port" ]]; then printf "USAGE: $0 -p <port number> -- <ssh arguments>\n" exit 1 fi |