aboutsummaryrefslogtreecommitdiff
path: root/psshd
diff options
context:
space:
mode:
Diffstat (limited to 'psshd')
-rwxr-xr-xpsshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/psshd b/psshd
index 7f6c923..4a7e4e2 100755
--- a/psshd
+++ b/psshd
@@ -30,7 +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