mirror of
https://github.com/nextcloud/server.git
synced 2026-03-09 01:40:53 -04:00
No output by default when --exit-code is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
02ded7f3ee
commit
87678c2fd5
1 changed files with 4 additions and 1 deletions
|
|
@ -70,7 +70,10 @@ class Status extends Base {
|
|||
'extendedSupport' => Util::hasExtendedSupport()
|
||||
];
|
||||
|
||||
$this->writeArrayInOutputFormat($input, $output, $values);
|
||||
if ($input->getOption('verbose') || !$input->getOption('exit-code')) {
|
||||
$this->writeArrayInOutputFormat($input, $output, $values);
|
||||
}
|
||||
|
||||
if ($input->getOption('exit-code')) {
|
||||
if ($maintenanceMode === true) {
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue