From ffe8bac2a4e189130170c99c62354ecf62c1fab7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 22 Feb 2007 20:04:07 +0000 Subject: [PATCH] Honor $pkg_interface --- etc/inc/pfsense-utils.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 5d45bbea81..a8fd9721bb 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -869,7 +869,12 @@ function get_dir($dir) { * update_output_window: update top textarea dynamically. */ function update_status($status) { - echo "\n"; + global $pkg_interface; + if($pkg_interface == "console") { + echo $status . "\n"; + } else { + echo "\n"; + } /* ensure that contents are written out */ ob_flush(); }