From 2add8ea772fb0912ef7d625fdd4f20015fdd5fe7 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 19 Aug 2011 19:02:53 +0000 Subject: [PATCH] Make update_status and update_output_window consistent on checking for console version or not. --- etc/inc/pfsense-utils.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 3d51fa92a9..5fcc04a570 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1557,10 +1557,11 @@ function update_output_window($text) { */ function update_status($status) { global $pkg_interface; - if($pkg_interface == "console") { - echo $status . "\n"; - } else { + + if($pkg_interface != "console") { echo "\n"; + } else { + echo $status . "\n"; } /* ensure that contents are written out */ ob_flush();