Revision fd29caa1
Added by Chris Buechler almost 10 years ago
etc/inc/config.lib.inc | ||
---|---|---|
196 | 196 |
$configcacheextra = fopen($g['tmp_path'] . '/config.extra.cache', "w"); |
197 | 197 |
fwrite($configcacheextra, serialize($config_extra)); |
198 | 198 |
fclose($configcacheextra); |
199 |
pfSense_fsync($configcacheextra);
|
|
199 |
pfSense_fsync("{$g['tmp_path']}/config.extra.cache");
|
|
200 | 200 |
unset($configcacheextra); |
201 | 201 |
} |
202 | 202 |
} |
Also available in: Unified diff
fix fsync, thanks Phil Davis for noticing