Commit e86532e0 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1829 from neoascetic/return_non_0_on_command_fail

Exit with non-zero if command fails, useful in scripting and CI
parents 778a97b3 bc6b7869
......@@ -43,7 +43,8 @@ try
}
catch (\Exception $e)
{
echo $e->getMessage();
echo $e->getMessage().PHP_EOL;
exit(1);
}
echo PHP_EOL;
\ No newline at end of file
echo PHP_EOL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment