aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 17ebb4a..a888af2 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -192,6 +192,8 @@ if [[ ${CHECK_CHKROOTKIT} == yes ]]; then
if [ -x /usr/sbin/chkrootkit ]; then
# do not check on NFS
/usr/sbin/chkrootkit -n ${CHKROOTKIT_OPTION} > ${CHKROOTKIT_TODAY}
+ else
+ echo "Security Warning: chkrootkit check is enabled but chkrootkit is not installed." > ${CHKROOTKIT_TODAY}
fi
fi