Browse Source

Exit with artisan status code.

Taylor Otwell 11 years ago
parent
commit
4aaf9a8f2b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      artisan

+ 4 - 2
artisan

@@ -56,7 +56,7 @@ $artisan = Illuminate\Console\Application::start($app);
 |
 */
 
-$artisan->run();
+$status = $artisan->run();
 
 /*
 |--------------------------------------------------------------------------
@@ -69,4 +69,6 @@ $artisan->run();
 |
 */
 
-$app->shutdown();
+$app->shutdown();
+
+exit($status);