mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
fix fsync, thanks Phil Davis for noticing
This commit is contained in:
parent
88f2c3354b
commit
fd29caa1c8
@ -196,7 +196,7 @@ function generate_config_cache($config) {
|
||||
$configcacheextra = fopen($g['tmp_path'] . '/config.extra.cache', "w");
|
||||
fwrite($configcacheextra, serialize($config_extra));
|
||||
fclose($configcacheextra);
|
||||
pfSense_fsync($configcacheextra);
|
||||
pfSense_fsync("{$g['tmp_path']}/config.extra.cache");
|
||||
unset($configcacheextra);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user