mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
output the exit code from stunnel to stderr in case it is non-zero
This commit is contained in:
parent
83b8de3d43
commit
c212ebbdda
@ -82,6 +82,13 @@ if($verbose) {
|
||||
print "HTTPS server: $cmd\n";
|
||||
}
|
||||
|
||||
system($cmd);
|
||||
my $rc = system($cmd);
|
||||
|
||||
$rc >>= 8;
|
||||
if($rc) {
|
||||
print STDERR "stunnel exited with $rc!\n";
|
||||
}
|
||||
|
||||
unlink $conffile;
|
||||
|
||||
exit $rc;
|
||||
|
Loading…
Reference in New Issue
Block a user