diff options
-rw-r--r-- | core/command/upgrade.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php index 456d9248218..af3a02178f1 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -92,7 +92,8 @@ class Upgrade extends Command { function ($success) use($output, $updateStepEnabled, $self) { $mode = $updateStepEnabled ? 'Update' : 'Update simulation'; $status = $success ? 'successful' : 'failed' ; - $message = "<info>$mode $status</info>"; + $type = $success ? 'info' : 'error'; + $message = "<$type>$mode $status</$type>"; $output->writeln($message); }); $updater->listen('\OC\Updater', 'dbUpgrade', function () use($output) { |