diff options
author | Ermal <eri@pfsense.org> | 2012-07-16 14:04:04 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-16 14:04:04 +0000 |
commit | 8de5b3c9ef97a63a420cf3fa11852b492e04a99e (patch) | |
tree | 4fc32e5274bc92b4a64d708739105b802f382ab3 | |
parent | b0057564e155afd9bbf8a10a7c7167f1782943ca (diff) | |
download | pfsense-packages-8de5b3c9ef97a63a420cf3fa11852b492e04a99e.tar.gz pfsense-packages-8de5b3c9ef97a63a420cf3fa11852b492e04a99e.tar.bz2 pfsense-packages-8de5b3c9ef97a63a420cf3fa11852b492e04a99e.zip |
Remove the file after usage
-rw-r--r-- | config/snort/snort_alerts.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php index 939381c5..196519fa 100644 --- a/config/snort/snort_alerts.php +++ b/config/snort/snort_alerts.php @@ -317,6 +317,7 @@ if (file_exists("/var/log/snort/snort_{$if_real}{$snort_uuid}/alert")) { $counter++; } fclose($fd); + @unlink("/tmp/alert_{$snort_uuid}"); } } ?> |