aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snort/snort_download_rules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php
index c07dc1cf..9826ba2a 100644
--- a/config/snort/snort_download_rules.php
+++ b/config/snort/snort_download_rules.php
@@ -164,6 +164,8 @@ hide_progress_bar_status();
/* send current buffer */
ob_flush();
+conf_mount_rw();
+
/* remove old $tmpfname files */
if (file_exists("{$tmpfname}")) {
update_status(gettext("Removing old tmp files..."));
@@ -189,8 +191,6 @@ if (file_exists($tmpfname)) {
/* unhide progress bar and lets end this party */
unhide_progress_bar_status();
-conf_mount_rw();
-
/* download md5 sig from snort.org */
if (file_exists("{$tmpfname}/{$snort_filename_md5}")) {
update_status(gettext("md5 temp file exists..."));