aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-08-25 19:43:04 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-08-25 19:43:04 +0000
commit52edaa437093b85fd1c3b217a34fc7a1eb15c34e (patch)
tree674dbc5478cb3ec7d9fc202c134382ac80b9d797 /cron-sh
parent1e4064ded31c320b1a5c8c1f9fbd23b5c3048b30 (diff)
downloadmsec-52edaa437093b85fd1c3b217a34fc7a1eb15c34e.tar
msec-52edaa437093b85fd1c3b217a34fc7a1eb15c34e.tar.gz
msec-52edaa437093b85fd1c3b217a34fc7a1eb15c34e.tar.bz2
msec-52edaa437093b85fd1c3b217a34fc7a1eb15c34e.tar.xz
msec-52edaa437093b85fd1c3b217a34fc7a1eb15c34e.zip
emptiness is tested in Maillog now
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/diff_check.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh
index 6400b70..bccfc44 100755
--- a/cron-sh/diff_check.sh
+++ b/cron-sh/diff_check.sh
@@ -194,10 +194,6 @@ if [[ -s ${TMP} ]]; then
echo -e "\n\n*** Diff Check, ${date} ***\n" >> ${SECURITY_LOG}
cat ${TMP} >> ${SECURITY_LOG}
-else
- cat > ${TMP} <<EOF
-Nothing has changed since the last run.
-EOF
fi
Maillog "[msec] *** Diff Check on ${hostname}, ${date} ***" "${TMP}"