From 798106719326ca417565dcaebb4e26f69b13e775 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 1 Sep 2024 17:55:59 +0200 Subject: [PATCH] Hm i meant exit? --- lib/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests.sh b/lib/tests.sh index 53861d4..c292b9f 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -33,8 +33,8 @@ _STUFF_TO_RUN_BEFORE_INITIAL_SNAPSHOT() { else echo "{'level': 0}" >$result_json log_error "Obvious syntax issues found which will make the scripts crash ... not running the actual tests until these are fixed" - # Return 0 instead of 1 such that the job gets flagged as failure and not as error - return 0 + # Exit with 0 instead of 1 such that the job gets flagged as failure and not as error + exit 0 fi # We filter apt deps starting with $app_id to prevent stupid issues with for example cockpit and transmission where the apt package is not properly reinstalled on reinstall-after-remove test ...