add exitcode for check folder script
This commit is contained in:
parent
f772bab218
commit
705a5742d0
@ -21,6 +21,8 @@ if checkFolders "$@" ; then
|
|||||||
echo "------"
|
echo "------"
|
||||||
echo "All checks have passed"
|
echo "All checks have passed"
|
||||||
else
|
else
|
||||||
|
CHECK_EXIT_CODE=$?
|
||||||
echo "------"
|
echo "------"
|
||||||
echo "Some checks did not pass - check the output"
|
echo "Some checks did not pass - check the output"
|
||||||
|
exit $CHECK_EXIT_CODE
|
||||||
fi
|
fi
|
||||||
Loading…
x
Reference in New Issue
Block a user