summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-06-11 23:28:52 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-06-11 23:28:52 -0400
commit1673d04cf3759bf312ed1c4c186d5c4b56f03df1 (patch)
treedbc0c71dbdebde78337ba1d36436df26ba083856 /etc
parentbd13f2b13848cd0ea4da345337554266fcec3aea (diff)
downloadpfsense-1673d04cf3759bf312ed1c4c186d5c4b56f03df1.zip
pfsense-1673d04cf3759bf312ed1c4c186d5c4b56f03df1.tar.gz
Oops, use exec()
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index e793c24..a8bf473 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -254,7 +254,7 @@ function filter_configure_sync() {
if(strstr("$rules_error", "busy")) {
exec("/sbin/pfctl -d");
exec("/sbin/pfctl -e");
- touch("/sbin/pfctl -f /tmp/rules.debug");
+ exec("/sbin/pfctl -f /tmp/rules.debug");
file_notice("pf_busy", "PF was marked busy and has been reset.", "pf_busy", "");
log_error("PF was marked busy and has been reset.");
}
OpenPOWER on IntegriCloud