add exitcode for check folder script

This commit is contained in:
trikimiki 2025-03-04 17:27:12 +02:00
parent f772bab218
commit 705a5742d0

View File

@ -21,6 +21,8 @@ if checkFolders "$@" ; then
echo "------"
echo "All checks have passed"
else
CHECK_EXIT_CODE=$?
echo "------"
echo "Some checks did not pass - check the output"
exit $CHECK_EXIT_CODE
fi