mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct file_notice usage.
This commit is contained in:
parent
416ae3d665
commit
07f1ca1d82
@ -484,7 +484,7 @@ function write_config($desc="Unknown", $backup = true) {
|
||||
if (!safe_write_file("{$g['cf_conf_path']}/config.xml", $xmlconfig, false)) {
|
||||
log_error("WARNING: Config contents could not be save. Could not open file!");
|
||||
unlock($lockkey);
|
||||
file_notice("Unable to open {$g['cf_conf_path']}/config.xml for writing in write_config()\n");
|
||||
file_notice("config.xml", "Unable to open {$g['cf_conf_path']}/config.xml for writing in write_config()\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user