Skip to content

Commit

Permalink
Be explicit about exitcode only being set once
Browse files Browse the repository at this point in the history
In response to #4097
  • Loading branch information
lizmat committed Mar 4, 2023
1 parent 0eac193 commit b358333
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/Type/independent-routines.pod6
Expand Up @@ -1317,6 +1317,8 @@ about an exit code different from zero, and not to terminate
exceptionally a method or a sub: use L<exceptions|/language/exceptions>
instead.
The first call of C<exit> in a process sets the return code, regardless
of any subsequent calls to C<exit> in the same, or any other thread.
=head2 sub done
Expand Down

0 comments on commit b358333

Please sign in to comment.