summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-07 00:37:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-07 00:37:22 +0000
commitba5be9ef2c10050fb73f41797e123f4b186d9bef (patch)
treed408f9b9d8c57e0f9a27ca2fc97b1e38650e261d /etc
parentdf4ae7c832e3feeced728d3275dfb322d8dbdfb8 (diff)
downloadpfsense-ba5be9ef2c10050fb73f41797e123f4b186d9bef.zip
pfsense-ba5be9ef2c10050fb73f41797e123f4b186d9bef.tar.gz
No need to lock config when setting filter update status
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index f7be2a8..91f3cd3 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
OpenPOWER on IntegriCloud