diff --git a/yii b/yii index be27cac..c874ce0 100755 --- a/yii +++ b/yii @@ -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);