From 5e2a2a1e5ca5cc46d67cbfaa0e11b221a8015381 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 5 May 2006 03:41:49 +0000 Subject: [PATCH] Don't echo out line, send it to the system logs --- etc/inc/config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 0c682439eb..fd6d38e70f 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -68,7 +68,7 @@ if(file_exists("/cf/conf/config.xml")) { $config_contents = file_get_contents("/cf/conf/config.xml"); if(stristr($config_contents, "m0n0wall") == true) { /* user has just upgraded to m0n0wall, replace root xml tags */ - echo "Upgrading m0n0wall configuration to pfSense... "; + log_error("Upgrading m0n0wall configuration to pfSense... "); $config_contents = str_replace("m0n0wall","pfsense", $config_contents); if (!config_validate($config_contents)) log_error("ERROR! Could not convert m0n0wall -> pfsense in config.xml");