diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php
index 6d10714d41095654f53d3a4db3b32ca9b2965dde..9e5514429ff8c8dca2b47b9c537b169e89f85536 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;
 		}
 	}
 }