changed warning verbosity; fixes typo
This commit is contained in:
parent
7135aa4338
commit
86c771acc4
@ -220,7 +220,10 @@ class Command
|
|||||||
if (function_exists('cli_set_process_title')) {
|
if (function_exists('cli_set_process_title')) {
|
||||||
if (!@cli_set_process_title($this->processTitle)) {
|
if (!@cli_set_process_title($this->processTitle)) {
|
||||||
if ('Darwin' === PHP_OS) {
|
if ('Darwin' === PHP_OS) {
|
||||||
$output->writeln('<comment>Running "cli_get_process_title" as an unprivileged user is not supported on MacOS.</comment>');
|
$output->writeln(
|
||||||
|
'<comment>Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.</comment>',
|
||||||
|
OutputInterface::VERBOSITY_VERY_VERBOSE
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
cli_set_process_title($this->processTitle);
|
cli_set_process_title($this->processTitle);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user