diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-08 17:16:13 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-08 17:16:13 +0000 |
commit | 7ed88ddf518e642fd4a95f6f0975ef0425b4bb04 (patch) | |
tree | 1e4d4be0539e5dd887e0845508fcd1f560749505 /cron-sh/diff_check.sh | |
parent | bacd50d1eb33741af74727eb4f59fe39e1cbf523 (diff) | |
download | msec-7ed88ddf518e642fd4a95f6f0975ef0425b4bb04.tar msec-7ed88ddf518e642fd4a95f6f0975ef0425b4bb04.tar.gz msec-7ed88ddf518e642fd4a95f6f0975ef0425b4bb04.tar.bz2 msec-7ed88ddf518e642fd4a95f6f0975ef0425b4bb04.tar.xz msec-7ed88ddf518e642fd4a95f6f0975ef0425b4bb04.zip |
*** empty log message ***
Diffstat (limited to 'cron-sh/diff_check.sh')
-rwxr-xr-x | cron-sh/diff_check.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh index c69de85..bef14be 100755 --- a/cron-sh/diff_check.sh +++ b/cron-sh/diff_check.sh @@ -232,5 +232,8 @@ if [ -s ${TMP} ]; then date=`date` echo -n "\n\n*** ${date} ***\n" >> ${SECURITY_LOG} cat ${TMP} >> ${SECURITY_LOG} - rm -f ${TMP} +fi + +if [ -f ${TMP} ]; then + rm -f ${TMP} fi |