aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Console/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php
index ac30a93a186..70bbab10621 100644
--- a/lib/private/Console/Application.php
+++ b/lib/private/Console/Application.php
@@ -125,7 +125,7 @@ class Application {
$errorOutput->writeln('Nextcloud is not installed - only a limited number of commands are available');
}
} catch (NeedsUpdateException) {
- if ($input->getArgument('command') !== '_completion') {
+ if ($input->getArgument('command') !== '_completion' && $input->getArgument('command') !== 'upgrade') {
$errorOutput = $output->getErrorOutput();
$errorOutput->writeln('Nextcloud or one of the apps require upgrade - only a limited number of commands are available');
$errorOutput->writeln('You may use your browser or the occ upgrade command to do the upgrade');