mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Change exit_checker comment on returned status
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3012)
This commit is contained in:
parent
34fffdb521
commit
089a45c5df
@ -91,9 +91,9 @@ my %hooks = (
|
||||
|
||||
# exit_checker is used by run() directly after completion of a command.
|
||||
# it receives the exit code from that command and is expected to return
|
||||
# 1 (for success) or 0 (for failure). This is the value that will be
|
||||
# returned by run().
|
||||
# NOTE: When run() gets the option 'capture => 1', this hook is ignored.
|
||||
# 1 (for success) or 0 (for failure). This is the status value that run()
|
||||
# will give back (through the |statusvar| referens and as returned value
|
||||
# when capture => 1 doesn't apply).
|
||||
exit_checker => sub { return shift == 0 ? 1 : 0 },
|
||||
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user