mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Silence pfctl -d errors
This commit is contained in:
parent
d7894259e4
commit
a3cc48b71b
@ -238,7 +238,7 @@ function filter_configure_sync($delete_states_if_needed = true) {
|
||||
if(!isset ($config['system']['disablefilter'])) {
|
||||
mwexec("/sbin/pfctl -e", true);
|
||||
} else {
|
||||
mwexec("/sbin/pfctl -d");
|
||||
mwexec("/sbin/pfctl -d", true);
|
||||
unlink_if_exists("{$g['tmp_path']}/filter_loading");
|
||||
update_filter_reload_status("Filter is disabled. Not loading rules.");
|
||||
if($g['booting'] == true)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user