aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-06-24 12:06:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-06-24 12:06:04 +0200
commit9e93d1ed257c393a0e954fc0ae635474fd1a01e1 (patch)
tree680f2f6c833dffdd8e438d913ec6c299a2ec909e
parentceb80ac123b26b033aac3f724da44a6f78c539ec (diff)
parente5bc50d1567accbeffd1fa1e2fc811f329f8e898 (diff)
downloadnextcloud-server-9e93d1ed257c393a0e954fc0ae635474fd1a01e1.tar.gz
nextcloud-server-9e93d1ed257c393a0e954fc0ae635474fd1a01e1.zip
Merge pull request #17131 from owncloud/non-zero-exit-code-when-app-is-not-compliant
Use non-zero exit code when app is not compliant (so CIs can detect t…
-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;
}
}
}