This commit is contained in:
aleksandr.vodyanov
2024-05-22 17:55:12 +03:00
parent 08d94060ed
commit 70649e125d

View File

@@ -14,10 +14,9 @@ IFS=' '
if [ -n "$INPUT_INPUT_FILES" ]; then
err=0
for file in $INPUT_INPUT_FILES; do
/app/addlicense -check "$1" "$file"
echo /app/addlicense -check "$1" "$file" | sh
if [ $? -ne 0 ]; then
err=1
echo $err
fi
done
exit $err