From 7ad138dc004734607045874a77725fc76a050354 Mon Sep 17 00:00:00 2001 From: servostar Date: Tue, 27 Aug 2024 19:50:09 +0200 Subject: [PATCH] fix CI failing (#18) --- run-ci.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-ci.sh b/run-ci.sh index 40d2c65..233f6f7 100755 --- a/run-ci.sh +++ b/run-ci.sh @@ -25,7 +25,8 @@ function enter-section() { printf "\\n" eval "$2" - if [ $? -neq $3 ]; then + exit_status=$? + if ! [ $exit_status -eq $3 ]; then abort "command: $2 failed in section: $1" fi