summaryrefslogtreecommitdiffstats
path: root/core/command
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-24 11:59:43 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-06-24 11:59:43 +0200
commite5bc50d1567accbeffd1fa1e2fc811f329f8e898 (patch)
tree680f2f6c833dffdd8e438d913ec6c299a2ec909e /core/command
parentceb80ac123b26b033aac3f724da44a6f78c539ec (diff)
downloadnextcloud-server-e5bc50d1567accbeffd1fa1e2fc811f329f8e898.tar.gz
nextcloud-server-e5bc50d1567accbeffd1fa1e2fc811f329f8e898.zip
Use non-zero exit code when app is not compliant (so CIs can detect the status)
Diffstat (limited to 'core/command')
-rw-r--r--core/command/app/checkcode.php1
1 files changed, 1 insertions, 0 deletions
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;
}
}
}