summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/ecl.php2
-rw-r--r--etc/inc/config.lib.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/ecl.php b/etc/ecl.php
index 8edc3bc..5797cca 100755
--- a/etc/ecl.php
+++ b/etc/ecl.php
@@ -138,8 +138,8 @@ function find_config_xml() {
exec("/sbin/umount /tmp/mnt/cf");
break;
}
+ exec("/sbin/umount /tmp/mnt/cf");
}
- exec("/sbin/umount /tmp/mnt/cf");
}
}
}
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index f466226..b383921 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -212,7 +212,7 @@ function restore_backup($file) {
copy("$file","/cf/conf/config.xml");
disable_security_checks();
log_error("{$g['product_name']} is restoring the configuration $file");
- file_notice("config.xml", "{$g['product_name']} is restoring the configuration $file", "pfSenseConfigurator", "");
+ file_notice("config.xml", "{$g['product_name']} is restoring the configuration $file", "{$g['product_name']}Configurator", "");
conf_mount_ro();
}
}
OpenPOWER on IntegriCloud