From 9e469046faee66171be15fa6d0bb6eef2289fa0f Mon Sep 17 00:00:00 2001
From: Joas Schilling <nickvergessen@owncloud.com>
Date: Tue, 7 Jul 2015 11:51:06 +0200
Subject: [PATCH] Use non-zero exit code

---
 core/command/app/checkcode.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php
index 8bd079eaad..5beb13e2c7 100644
--- a/core/command/app/checkcode.php
+++ b/core/command/app/checkcode.php
@@ -87,9 +87,10 @@ class CheckCode extends Command {
 			$output->writeln('<info>App is compliant - awesome job!</info>');
 		} elseif ($input->getOption('deprecated')) {
 			$output->writeln('<comment>App uses deprecated functionality</comment>');
+			return 102;
 		} else {
 			$output->writeln('<error>App is not compliant</error>');
-			return 1;
+			return 101;
 		}
 	}
 }
-- 
GitLab