aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort-dev/snort.inc')
-rw-r--r--config/snort-dev/snort.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 5dfa4255..26bdee7d 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -867,6 +867,7 @@ function snort_deinstall()
function snort_rm_blocked_deinstall_cron($should_install)
{
global $config, $g;
+ conf_mount_rw();
$is_installed = false;
@@ -894,7 +895,8 @@ function snort_deinstall()
}
configure_cron();
}
- conf_mount_ro();
+ }
+ conf_mount_ro();
}
function snort_rules_up_deinstall_cron($should_install) {