Modify hardening.sh

This commit is contained in:
samson 2018-12-17 16:49:25 +08:00
parent eec92f5d36
commit 4f01ec6289
1 changed files with 2 additions and 1 deletions

View File

@ -245,7 +245,8 @@ for SCRIPT in $(ls $CIS_ROOT_DIR/bin/hardening/*.sh -v); do
esac
if [ $SCRIPT_EXITCODE -eq 3 ]; then
{
debug "$SCRIPT maybe is nonexist service in this system"
warn "$SCRIPT maybe is nonexist service or nonexist file in this system"
TOTAL_CHECKS=$((TOTAL_CHECKS+1))
}
else
{