From 09d8d0426e278011eb460c0443ff238c6d2298c0 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 25 May 2024 16:59:53 -0400 Subject: [PATCH] geturl: Don't suppress curl's STDERR This makes it easier for users to troubleshoot problems. --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 53115d0..f99f352 100755 --- a/ddclient.in +++ b/ddclient.in @@ -2673,7 +2673,7 @@ sub curl_cmd { print($tfh @params); } close($tfh); - my $reply = qx{ $system_curl --config $tmpfile 2>/dev/null; }; + my $reply = qx{ $system_curl --config $tmpfile; }; 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."); }