From 4f01ec6289aa9a7780221c5366a3c9edff176ffd Mon Sep 17 00:00:00 2001 From: samson Date: Mon, 17 Dec 2018 16:49:25 +0800 Subject: [PATCH] Modify hardening.sh --- bin/hardening.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/hardening.sh b/bin/hardening.sh index 906b7f0..140650d 100755 --- a/bin/hardening.sh +++ b/bin/hardening.sh @@ -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 {