aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-17 14:17:22 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-17 14:17:22 +0000
commit46c44c4aa32d03cbf640edc1e388d7f4a6cc649a (patch)
treeecfcb7928a2ad3df0b9d0668deb7754c34d9c643 /cron-sh
parent315cd54cc900e87bd93c3c6f885931828e1e9afb (diff)
downloadmsec-46c44c4aa32d03cbf640edc1e388d7f4a6cc649a.tar
msec-46c44c4aa32d03cbf640edc1e388d7f4a6cc649a.tar.gz
msec-46c44c4aa32d03cbf640edc1e388d7f4a6cc649a.tar.bz2
msec-46c44c4aa32d03cbf640edc1e388d7f4a6cc649a.tar.xz
msec-46c44c4aa32d03cbf640edc1e388d7f4a6cc649a.zip
*** empty log message ***
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/security_check.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index 6f73f72..87c7043 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -15,16 +15,14 @@ if [[ ${CHECK_SECURITY} != yes ]]; then
exit 0
fi
-SECURITY=`mktemp /tmp/secure.log`
+SECURITY=`mktemp /tmp/secure.XXXXXX`
SECURITY_LOG="/var/log/security.log"
-TMP=`mktemp /tmp/secure.tmp`
+TMP=`mktemp /tmp/secure.XXXXXX`
if [[ ! -d /var/log/security ]]; then
mkdir /var/log/security
fi
-rm -f ${SECURITY} ${TMP} >& /dev/null
-
### Functions ###
Syslog() {