From 0a9c6fb5247b8de26c4cf827c3c1563abb17bcb3 Mon Sep 17 00:00:00 2001 From: donluca <51792528+donluca@users.noreply.github.com> Date: Tue, 28 Feb 2023 19:35:40 +0100 Subject: [PATCH] Small fix Forgot to add "exit" if a connection cannot be established due to secure connection issues. --- getsysex.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/getsysex.sh b/getsysex.sh index 43acf83..ab4561d 100755 --- a/getsysex.sh +++ b/getsysex.sh @@ -53,6 +53,7 @@ case $? in CURL_OPTIONS+=" --insecure" else echo "Error establishing secure connection" + exit 2 fi ;; *)