mirror of
https://github.com/curl/curl.git
synced 2026-05-30 14:57:32 +03:00
output the exit code from stunnel to stderr in case it is non-zero
This commit is contained in:
parent
83b8de3d43
commit
c212ebbdda
1 changed files with 8 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue