aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_sid_mgmt.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort/snort_sid_mgmt.php')
-rw-r--r--config/snort/snort_sid_mgmt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_sid_mgmt.php b/config/snort/snort_sid_mgmt.php
index 285cd6f9..04edae74 100644
--- a/config/snort/snort_sid_mgmt.php
+++ b/config/snort/snort_sid_mgmt.php
@@ -233,7 +233,7 @@ if (isset($_POST['sidlist_dnload_all_x'])) {
readfile("/tmp/{$file_name}");
// Clean up the temp file
- @unlink("/tmp/{$file_name}");
+ unlink_if_exists("/tmp/{$file_name}");
}
else
$savemsg = gettext("An error occurred while creating the gzip archive!");