minor fix
This commit is contained in:
parent
2e7d928791
commit
81cca85faa
1 changed files with 3 additions and 1 deletions
|
@ -61,6 +61,7 @@ start_rsp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Parser
|
||||||
# looking for double parametters.
|
# looking for double parametters.
|
||||||
|
|
||||||
for (( arg=1; arg<$#; arg++)); do
|
for (( arg=1; arg<$#; arg++)); do
|
||||||
|
@ -124,6 +125,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Last check, if protocol define, launch it, else, exit 0
|
||||||
case "${protocol}" in
|
case "${protocol}" in
|
||||||
"ssh")
|
"ssh")
|
||||||
start_ssh
|
start_ssh
|
||||||
|
@ -133,7 +135,7 @@ case "${protocol}" in
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "protocol ${protocol} uknown" >&2
|
echo "protocol ${protocol} uknown" >&2
|
||||||
echo ${Usage}
|
echo "${Usage}"
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue