diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-14 17:17:16 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-14 17:45:15 +1200 |
commit | c660998521e712122a308743011a63d29be023a3 (patch) | |
tree | 6e65122f3a91956bc265cdb10aaf7544ef55f869 | |
parent | Quoting unneeded in unary/lhs [[ (diff) | |
download | psshd-c660998521e712122a308743011a63d29be023a3.tar.gz psshd-c660998521e712122a308743011a63d29be023a3.zip |
No need to quote getopts spec
-rwxr-xr-x | psshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |