Skip to content

Commit 4aaf9a8

Browse files
committed
Exit with artisan status code.
1 parent 216bc07 commit 4aaf9a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

artisan

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $artisan = Illuminate\Console\Application::start($app);
5656
|
5757
*/
5858

59-
$artisan->run();
59+
$status = $artisan->run();
6060

6161
/*
6262
|--------------------------------------------------------------------------
@@ -69,4 +69,6 @@ $artisan->run();
6969
|
7070
*/
7171

72-
$app->shutdown();
72+
$app->shutdown();
73+
74+
exit($status);

0 commit comments

Comments
 (0)