diff options
Diffstat (limited to 'cron-sh/security_check.sh')
-rwxr-xr-x | cron-sh/security_check.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 800b0c0..6f73f72 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -15,9 +15,9 @@ if [[ ${CHECK_SECURITY} != yes ]]; then exit 0 fi -SECURITY="/tmp/secure.log" +SECURITY=`mktemp /tmp/secure.log` SECURITY_LOG="/var/log/security.log" -TMP="/tmp/secure.tmp" +TMP=`mktemp /tmp/secure.tmp` if [[ ! -d /var/log/security ]]; then mkdir /var/log/security |