diff options
Diffstat (limited to 'cron-sh/diff_check.sh')
-rwxr-xr-x | cron-sh/diff_check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh index 62d52e8..6c22184 100755 --- a/cron-sh/diff_check.sh +++ b/cron-sh/diff_check.sh @@ -43,7 +43,7 @@ UNOWNED_YESTERDAY="/var/log/security/unowned.yesterday" UNOWNED_DIFF="/var/log/security/unowned.diff" SECURITY_LOG="/var/log/security.log" -TMP="/tmp/secure.tmp" +TMP=`mktemp /tmp/secure.XXXXXX` if [[ ! -d /var/log/security ]]; then mkdir /var/log/security |