mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Move call up to where it belongs.
This commit is contained in:
parent
07070c72f3
commit
e296b18378
@ -595,10 +595,10 @@ function config_restore($conffile) {
|
||||
|
||||
$config = parse_config(true);
|
||||
|
||||
write_config("Reverted to " . array_pop(explode("/", $conffile)) . ".", false);
|
||||
|
||||
conf_mount_ro();
|
||||
|
||||
write_config("Reverted to " . array_pop(explode("/", $conffile)) . ".", false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user