mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Cli/Loader: Configure the used Screen
to use STDERR
Otherwise we still colorize output if stderr is being redirected.
This commit is contained in:
parent
d7e3547c6e
commit
629a39ebbe
@ -78,8 +78,9 @@ class Loader
|
|||||||
protected function screen()
|
protected function screen()
|
||||||
{
|
{
|
||||||
if ($this->screen === null) {
|
if ($this->screen === null) {
|
||||||
$this->screen = Screen::instance();
|
$this->screen = Screen::instance(STDERR);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->screen;
|
return $this->screen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user