Exit with code 78 when warnings were found

This commit is contained in:
mboelen 2015-09-10 09:18:41 +02:00
parent 0db8eca467
commit 04b2a900c1
1 changed files with 5 additions and 1 deletions

4
lynis
View File

@ -836,7 +836,11 @@
logtext "================================================================================" logtext "================================================================================"
# Clean exit (Delete PID file) # Clean exit (Delete PID file)
if [ ${TOTAL_WARNINGS} -gt 0 ]; then
ExitCustom 78
else
ExitClean ExitClean
fi
# The End # The End