summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Console/Application.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php
index 58a6b2f9ac7..11efe7d8ccf 100644
--- a/lib/private/Console/Application.php
+++ b/lib/private/Console/Application.php
@@ -180,8 +180,8 @@ class Application {
&& $input->getArgument('command') !== 'maintenance:mode') {
$errOutput = $output->getErrorOutput();
$errOutput->writeln(
- '<comment>Nextcloud is in maintenance mode - ' .
- 'no apps have been loaded</comment>' . PHP_EOL
+ '<comment>Nextcloud is in maintenance mode, hence the database isn\'t accessible.' . PHP_EOL .
+ 'Cannot perform any command except \'maintenance:mode --off\'</comment>' . PHP_EOL
);
}
}