mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
No need to lock config when setting filter update status
This commit is contained in:
parent
df4ae7c832
commit
ba5be9ef2c
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user