summaryrefslogtreecommitdiffstats
path: root/lib/private/Console
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-07-02 13:09:25 +0200
committerszaimen <szaimen@e.mail.de>2021-07-02 13:54:33 +0200
commit37ff07b9e16eda6b429902cf2df42be440953f69 (patch)
treef2fe8d2ccf317eb72ac47a16ecb9176f0e8cfad4 /lib/private/Console
parent129214e430865836dad57b271f49e63412d5c842 (diff)
downloadnextcloud-server-37ff07b9e16eda6b429902cf2df42be440953f69.tar.gz
nextcloud-server-37ff07b9e16eda6b429902cf2df42be440953f69.zip
Improve maintenance mode info
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'lib/private/Console')
-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
);
}
}