From 57a19206b5aad7ca67f0d5ebae05af2799609819 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) --- util/TLSProxy/Proxy.pm | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1