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