diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:51:06 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-17 12:34:56 +0200 |
commit | 9e469046faee66171be15fa6d0bb6eef2289fa0f (patch) | |
tree | 53409a9d44716a297236854bd8d298dc7da7be4c /core | |
parent | eb1c4379415c60dbb873b549683978af79d1027d (diff) | |
download | nextcloud-server-9e469046faee66171be15fa6d0bb6eef2289fa0f.tar.gz nextcloud-server-9e469046faee66171be15fa6d0bb6eef2289fa0f.zip |
Use non-zero exit code
Diffstat (limited to 'core')
-rw-r--r-- | core/command/app/checkcode.php | 3 |
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; } } } |