Console application has to exit with exitCode

fixes #562
This commit is contained in:
CeBe 2013-06-20 22:31:36 +02:00
parent 3aa964dfba
commit 47d58dbd96

3
yii
View File

@ -19,4 +19,5 @@ require(__DIR__ . '/vendor/autoload.php');
$config = require(__DIR__ . '/config/console.php');
$application = new yii\console\Application($config);
return $application->run();
$exitCode = $application->run();
exit($exitCode);