No need to lock config when setting filter update status

This commit is contained in:
Scott Ullrich 2008-10-07 00:37:22 +00:00
parent df4ae7c832
commit ba5be9ef2c

View File

@ -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;
}
?>
?>