summaryrefslogtreecommitdiffstats
path: root/core/Command/Status.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r--core/Command/Status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php
index 7702a672fc8..0c3257f8a59 100644
--- a/core/Command/Status.php
+++ b/core/Command/Status.php
@@ -38,7 +38,7 @@ class Status extends Base {
;
}
- protected function execute(InputInterface $input, OutputInterface $output) {
+ protected function execute(InputInterface $input, OutputInterface $output): int {
$values = [
'installed' => (bool) \OC::$server->getConfig()->getSystemValue('installed', false),
'version' => implode('.', \OCP\Util::getVersion()),
@@ -47,5 +47,6 @@ class Status extends Base {
];
$this->writeArrayInOutputFormat($input, $output, $values);
+ return 0;
}
}