diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index c3d6aacc714..fbf7768ec74 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -140,7 +140,7 @@ class Upgrade extends Command {
$output->writeln('Turned off maintenance mode');
});
$updater->listen('\OC\Updater', 'maintenanceActive', function () use ($output): void {
- $output->writeln('Maintenance mode is kept active');
+ $output->writeln('Maintenance mode is kept active');
});
$updater->listen('\OC\Updater', 'updateEnd',
function ($success) use ($output, $self): void {
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 22bbdcff3e0..b749a869a9f 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -82,7 +82,7 @@ if (Util::needUpgrade()) {
$eventSource->send('success', $l->t('Turned off maintenance mode'));
});
$updater->listen('\OC\Updater', 'maintenanceActive', function () use ($eventSource, $l): void {
- $eventSource->send('success', $l->t('Maintenance mode is kept active'));
+ $eventSource->send('notice', $l->t('Maintenance mode is kept active'));
});
$updater->listen('\OC\Updater', 'dbUpgradeBefore', function () use ($eventSource, $l): void {
$eventSource->send('success', $l->t('Updating database schema'));