geturl: Don't suppress curl's STDERR
This makes it easier for users to troubleshoot problems.
This commit is contained in:
parent
09ce262c82
commit
09d8d0426e
1 changed files with 1 additions and 1 deletions
|
@ -2673,7 +2673,7 @@ sub curl_cmd {
|
||||||
print($tfh @params);
|
print($tfh @params);
|
||||||
}
|
}
|
||||||
close($tfh);
|
close($tfh);
|
||||||
my $reply = qx{ $system_curl --config $tmpfile 2>/dev/null; };
|
my $reply = qx{ $system_curl --config $tmpfile; };
|
||||||
if ((my $rc = $?>>8) != 0) {
|
if ((my $rc = $?>>8) != 0) {
|
||||||
warning("CURL error (%d) %s", $rc, $curl_codes{$rc} // "Unknown return code. Check $system_curl is installed and its manpage.");
|
warning("CURL error (%d) %s", $rc, $curl_codes{$rc} // "Unknown return code. Check $system_curl is installed and its manpage.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue