aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-16 14:04:04 +0000
committerErmal <eri@pfsense.org>2012-07-16 14:04:04 +0000
commit8de5b3c9ef97a63a420cf3fa11852b492e04a99e (patch)
tree4fc32e5274bc92b4a64d708739105b802f382ab3
parentb0057564e155afd9bbf8a10a7c7167f1782943ca (diff)
downloadpfsense-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.php1
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}");
}
}
?>