summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-08 17:19:19 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-08 17:19:19 +0000
commite296b183788fba90fa208c15be1389bb8a3bdb19 (patch)
tree1af8526337474c99d67df49f6fa14b8a413cdefc /etc
parent07070c72f3c5ad8e90c583e4fdd8457505502ae7 (diff)
downloadpfsense-e296b183788fba90fa208c15be1389bb8a3bdb19.zip
pfsense-e296b183788fba90fa208c15be1389bb8a3bdb19.tar.gz
Move call up to where it belongs.
Diffstat (limited to 'etc')
-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