diff --git a/remote_connection.sh b/remote_connection.sh index f279a45..2c2bbe1 100755 --- a/remote_connection.sh +++ b/remote_connection.sh @@ -61,6 +61,7 @@ start_rsp() { } +# Parser # looking for double parametters. for (( arg=1; arg<$#; arg++)); do @@ -124,6 +125,7 @@ fi +# Last check, if protocol define, launch it, else, exit 0 case "${protocol}" in "ssh") start_ssh @@ -133,7 +135,7 @@ case "${protocol}" in ;; *) echo "protocol ${protocol} uknown" >&2 - echo ${Usage} + echo "${Usage}" exit ;; esac