diff options
author | Joas Schilling <coding@schilljs.com> | 2021-07-08 21:17:29 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-07-08 21:21:57 +0200 |
commit | 5390d3194fa8e06d36b3ca11710097ad8062b73d (patch) | |
tree | bdd288ab6f19865f7c401e1ef5491bea8290511e /core/Command/Integrity | |
parent | dad31ce3fa7085769b87309141c250c5865994b4 (diff) | |
download | nextcloud-server-5390d3194fa8e06d36b3ca11710097ad8062b73d.tar.gz nextcloud-server-5390d3194fa8e06d36b3ca11710097ad8062b73d.zip |
Make integrity commands verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command/Integrity')
-rw-r--r-- | core/Command/Integrity/CheckApp.php | 2 | ||||
-rw-r--r-- | core/Command/Integrity/CheckCore.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/Command/Integrity/CheckApp.php b/core/Command/Integrity/CheckApp.php index e99b365f798..17e22cc5a62 100644 --- a/core/Command/Integrity/CheckApp.php +++ b/core/Command/Integrity/CheckApp.php @@ -72,8 +72,10 @@ class CheckApp extends Base { $result = $this->checker->verifyAppSignature($appid, $path, true); $this->writeArrayInOutputFormat($input, $output, $result); if (count($result) > 0) { + $output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE); return 1; } + $output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE); return 0; } } diff --git a/core/Command/Integrity/CheckCore.php b/core/Command/Integrity/CheckCore.php index 53ac3ec8bc8..eae33c09d76 100644 --- a/core/Command/Integrity/CheckCore.php +++ b/core/Command/Integrity/CheckCore.php @@ -68,8 +68,10 @@ class CheckCore extends Base { $result = $this->checker->verifyCoreSignature(); $this->writeArrayInOutputFormat($input, $output, $result); if (count($result) > 0) { + $output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE); return 1; } + $output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE); return 0; } } |