exit code

This commit is contained in:
Philip Korsholm
2021-10-20 16:21:29 +02:00
parent e137aa6484
commit c977eb7e6b

View File

@@ -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