Skip to content

Commit

Permalink
Make sure we pass along the correct exit code if we have an exit exce…
Browse files Browse the repository at this point in the history
…ption.
  • Loading branch information
jnthn committed Jul 22, 2009
1 parent 5901f2a commit e506d36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion perl6.pir
Expand Up @@ -311,7 +311,8 @@ and report exceptions.

exit:
pop_eh
exit 0
$I0 = exception['exit_code']
exit $I0
.end
.sub 'format_location'
.param pmc cur_block
Expand Down

0 comments on commit e506d36

Please sign in to comment.