From c977eb7e6b438021d0a84c06b7bc459aaadbcd64 Mon Sep 17 00:00:00 2001 From: Philip Korsholm Date: Wed, 20 Oct 2021 16:21:29 +0200 Subject: [PATCH] exit code --- scripts/assert-changed-files-actions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/assert-changed-files-actions.sh b/scripts/assert-changed-files-actions.sh index 2a45a8f650..c7a1851821 100755 --- a/scripts/assert-changed-files-actions.sh +++ b/scripts/assert-changed-files-actions.sh @@ -34,7 +34,7 @@ fi if [ "$FILES_COUNT" -eq 0 ]; then echo "0 files matching '$GREP_PATTERN'; exiting and marking successful." - exit 1 + exit 0 else echo "$FILES_COUNT file(s) matching '$GREP_PATTERN'; continuing." fi