diff options
author | BBcan177 <bbcan177@gmail.com> | 2015-12-13 12:41:41 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2015-12-13 12:41:41 -0500 |
commit | 489c102bb146f680e9f132a392fde7a4e70ad4f9 (patch) | |
tree | a6c8b824cfe59b988237a3a89270ec09bc98b751 /src | |
parent | 1e7e5fd55c8c6ed640e4fa11b10258d3e038bd86 (diff) | |
download | pfsense-489c102bb146f680e9f132a392fde7a4e70ad4f9.zip pfsense-489c102bb146f680e9f132a392fde7a4e70ad4f9.tar.gz |
Update pfsense-utils.inc
When installing packages, an extra line break is added by the "\r" ... echo "\r{$status}";
The $status string typically contain a trailing "\n" as required. This allows to print a message in two steps.
Writing configuration... done.
1) print "Writing configuration..."
2) print "done" after the command completes.
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index 6d6fa54..b57f70e 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -1812,7 +1812,7 @@ function update_status($status) { global $pkg_interface; if ($pkg_interface == "console") { - echo "\r{$status}"; + print ("{$status}"); } /* ensure that contents are written out */ |