diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-01-10 09:22:05 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-01-23 11:30:21 +0100 |
commit | 57a19206b5aad7ca67f0d5ebae05af2799609819 (patch) | |
tree | ba3f9ea34412ec0a441664344cf21e25c9265c57 /util/TLSProxy | |
parent | 9872238eb6fb981fc7c36ba4180d193cab077b34 (diff) |
Check the exit code from the server process
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2205)
Diffstat (limited to 'util/TLSProxy')
-rw-r--r-- | util/TLSProxy/Proxy.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm index 0d60bd3bfd..2e90ab0a18 100644 --- a/util/TLSProxy/Proxy.pm +++ b/util/TLSProxy/Proxy.pm @@ -316,6 +316,7 @@ sub clientstart print "Waiting for server process to close: " .$self->serverpid."\n"; waitpid( $self->serverpid, 0); + die "exit code $? from server process\n" if $? != 0; } return 1; } |