From 1673d04cf3759bf312ed1c4c186d5c4b56f03df1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 11 Jun 2009 23:28:52 -0400 Subject: Oops, use exec() --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } -- cgit v1.1