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_0d~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=408eb66aea74b5dfe52386f7a8756bd81b890a26;p=oweals%2Fopenssl.git 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) (cherry picked from commit 57a19206b5aad7ca67f0d5ebae05af2799609819) --- diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm index eeb83ed74f..49fc15d60f 100644 --- a/util/TLSProxy/Proxy.pm +++ b/util/TLSProxy/Proxy.pm @@ -299,6 +299,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; }