summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/config.lib.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 8c392ec..4c69986 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -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;
}
OpenPOWER on IntegriCloud