From 408eb66aea74b5dfe52386f7a8756bd81b890a26 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Tue, 10 Jan 2017 09:22:05 +0100 Subject: [PATCH] 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) --- util/TLSProxy/Proxy.pm | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1