diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-08 17:19:19 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-08 17:19:19 +0000 |
commit | e296b183788fba90fa208c15be1389bb8a3bdb19 (patch) | |
tree | 1af8526337474c99d67df49f6fa14b8a413cdefc /etc/inc/config.lib.inc | |
parent | 07070c72f3c5ad8e90c583e4fdd8457505502ae7 (diff) | |
download | pfsense-e296b183788fba90fa208c15be1389bb8a3bdb19.zip pfsense-e296b183788fba90fa208c15be1389bb8a3bdb19.tar.gz |
Move call up to where it belongs.
Diffstat (limited to 'etc/inc/config.lib.inc')
-rw-r--r-- | etc/inc/config.lib.inc | 4 |
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; } |