From e5bc50d1567accbeffd1fa1e2fc811f329f8e898 Mon Sep 17 00:00:00 2001
From: Joas Schilling <nickvergessen@owncloud.com>
Date: Wed, 24 Jun 2015 11:59:43 +0200
Subject: [PATCH] Use non-zero exit code when app is not compliant (so CIs can
 detect the status)

---
 core/command/app/checkcode.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php
index 6d10714d410..9e5514429ff 100644
--- a/core/command/app/checkcode.php
+++ b/core/command/app/checkcode.php
@@ -73,6 +73,7 @@ class CheckCode extends Command {
 			$output->writeln('<info>App is compliant - awesome job!</info>');
 		} else {
 			$output->writeln('<error>App is not compliant</error>');
+			return 1;
 		}
 	}
 }
-- 
GitLab