From 5390d3194fa8e06d36b3ca11710097ad8062b73d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 8 Jul 2021 21:17:29 +0200 Subject: Make integrity commands verbose Signed-off-by: Joas Schilling --- core/Command/Integrity/CheckApp.php | 2 ++ core/Command/Integrity/CheckCore.php | 2 ++ 2 files changed, 4 insertions(+) (limited to 'core/Command/Integrity') 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('' . count($result) . ' errors found', OutputInterface::VERBOSITY_VERBOSE); return 1; } + $output->writeln('No errors found', 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('' . count($result) . ' errors found', OutputInterface::VERBOSITY_VERBOSE); return 1; } + $output->writeln('No errors found', OutputInterface::VERBOSITY_VERBOSE); return 0; } } -- cgit v1.2.3