aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-07-07 11:51:06 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-17 12:34:56 +0200
commit9e469046faee66171be15fa6d0bb6eef2289fa0f (patch)
tree53409a9d44716a297236854bd8d298dc7da7be4c /core
parenteb1c4379415c60dbb873b549683978af79d1027d (diff)
downloadnextcloud-server-9e469046faee66171be15fa6d0bb6eef2289fa0f.tar.gz
nextcloud-server-9e469046faee66171be15fa6d0bb6eef2289fa0f.zip
Use non-zero exit code
Diffstat (limited to 'core')
-rw-r--r--core/command/app/checkcode.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php
index 8bd079eaad1..5beb13e2c7c 100644
--- a/core/command/app/checkcode.php
+++ b/core/command/app/checkcode.php
@@ -87,9 +87,10 @@ class CheckCode extends Command {
$output->writeln('<info>App is compliant - awesome job!</info>');
} elseif ($input->getOption('deprecated')) {
$output->writeln('<comment>App uses deprecated functionality</comment>');
+ return 102;
} else {
$output->writeln('<error>App is not compliant</error>');
- return 1;
+ return 101;
}
}
}