From e296b183788fba90fa208c15be1389bb8a3bdb19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Mon, 8 Mar 2010 17:19:19 +0000 Subject: [PATCH] Move call up to where it belongs. --- etc/inc/config.lib.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index 8c392ec2f6..4c69986d2c 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; }