add exitcode for check folder script
This commit is contained in:
parent
f772bab218
commit
705a5742d0
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user