From 75b308a52abed5a2a6e3af0282ac047904351321 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Thu, 19 Nov 2020 23:50:47 +0100 Subject: [PATCH] Fixed issue with "[[: not found" message during execution. --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.sh b/script.sh index 702d987..8e5e80c 100755 --- a/script.sh +++ b/script.sh @@ -56,7 +56,7 @@ then fi rc=$?; -if [[ $rc != 0 ]]; +if [[ $rc != 0 ]] then echo "> non-zero exit code $rc" && exit $rc