From: Bernd Edlinger Date: Tue, 10 Jan 2017 08:22:05 +0000 (+0100) Subject: Check the exit code from the server process X-Git-Tag: OpenSSL_1_1_1-pre1~2643 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=57a19206b5aad7ca67f0d5ebae05af2799609819 Check the exit code from the server process Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/2205) --- 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; }