From ba5be9ef2c10050fb73f41797e123f4b186d9bef Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 7 Oct 2008 00:37:22 +0000 Subject: [PATCH] No need to lock config when setting filter update status --- etc/inc/pfsense-utils.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index f7be2a868f..91f3cd38c2 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -3341,11 +3341,9 @@ function kill_traffic_collector() { function update_filter_reload_status($text) { global $g; - config_lock(); $fd = fopen("{$g['varrun_path']}/filter_reload_status", "w"); fwrite($fd, $text); fclose($fd); - config_unlock(); } function get_interface_gateway($interface) { @@ -3958,4 +3956,4 @@ function read_body($ch, $string) { return $length; } -?> +?> \ No newline at end of file