mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #49955 from nextcloud/occ-upgrade-reminder
fix: when already upgrading, don't instruct to run `occ upgrade`
This commit is contained in:
commit
f9c03f7606
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue