From 81cca85faa9f089728a0339a73b84c34e41361d2 Mon Sep 17 00:00:00 2001 From: primardj Date: Sun, 4 Feb 2024 11:51:20 +0000 Subject: [PATCH] minor fix --- remote_connection.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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