From 07f8276f0c5ef6b3dad25b9fad29a74661d7b163 Mon Sep 17 00:00:00 2001 From: "aleksandr.vodyanov" Date: Wed, 22 May 2024 17:51:27 +0300 Subject: [PATCH] up --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4c9ae04..6789313 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,9 +15,9 @@ if [ -n "$INPUT_INPUT_FILES" ]; then err=0 for file in $INPUT_INPUT_FILES; do /app/addlicense -check "$1" "$file" - echo $? if [ $? -ne 0 ]; then err=$? + echo $err fi done exit $err