summaryrefslogtreecommitdiffstats
path: root/core/Command/Integrity/CheckCore.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Integrity/CheckCore.php')
-rw-r--r--core/Command/Integrity/CheckCore.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Command/Integrity/CheckCore.php b/core/Command/Integrity/CheckCore.php
index 5aaf9c2dec8..a3426ce9345 100644
--- a/core/Command/Integrity/CheckCore.php
+++ b/core/Command/Integrity/CheckCore.php
@@ -60,5 +60,8 @@ class CheckCore extends Base {
protected function execute(InputInterface $input, OutputInterface $output) {
$result = $this->checker->verifyCoreSignature();
$this->writeArrayInOutputFormat($input, $output, $result);
+ if (count($result)>0){
+ return 1;
+ }
}
}