diff --git a/Blacklight/Tmux.php b/Blacklight/Tmux.php index 497f93a17..b56aa38cd 100755 --- a/Blacklight/Tmux.php +++ b/Blacklight/Tmux.php @@ -600,7 +600,7 @@ class Tmux if ($this->isRunning() === true) { TmuxModel::query()->where('setting', '=', 'running')->update(['value' => 0]); $sleep = $this->get()->monitor_delay; - echo ColorCLI::header('Stopping tmux scripts and waiting '.$sleep.' seconds for all panes to shutdown'); + ColorCLI::doEcho(ColorCLI::header('Stopping tmux scripts and waiting '.$sleep.' seconds for all panes to shutdown'), true); sleep($sleep); return true; diff --git a/Changelog b/Changelog index 95108456a..54278aeb5 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-02-14 DariusIII + * Chg: Update informational messages output * Chg: Rename nntmux namespace and folder to Blacklight * Fix: Fix echoing of cli messages (most of them) * Chg: Update echoing of informational messages in update_groups.php diff --git a/misc/update/tmux/run.php b/misc/update/tmux/run.php index b4431b797..2e9511184 100644 --- a/misc/update/tmux/run.php +++ b/misc/update/tmux/run.php @@ -38,7 +38,7 @@ if (! empty($session)) { } //reset collections dateadded to now if dateadded > delay time check -echo ColorCLI::header('Resetting expired collections dateadded to now. This could take a minute or two. Really.'); +ColorCLI::doEcho(ColorCLI::header('Resetting expired collections dateadded to now. This could take a minute or two. Really.'), true); $sql = 'SHOW table status'; $tables = $pdo->queryDirect($sql); @@ -56,7 +56,7 @@ foreach ($tables as $row) { } } } -echo ColorCLI::primary(number_format($ran).' collections reset.'); +ColorCLI::doEcho(ColorCLI::primary(number_format($ran).' collections reset.'), true); sleep(2); function writelog($pane)