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