From ec11eb1252ed1fe147f993cb6e3f20be81bc0d08 Mon Sep 17 00:00:00 2001 From: Liam Crilly Date: Tue, 18 Jun 2024 11:38:54 +0100 Subject: tools/unitc: Redirect stderr for curl feature test [ Tweaked subject prefix - Andrew ] Signed-off-by: Andrew Clayton --- tools/unitc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/unitc') diff --git a/tools/unitc b/tools/unitc index 332b2311..e1cc77c2 100755 --- a/tools/unitc +++ b/tools/unitc @@ -251,7 +251,7 @@ fi # Set the base curl command after testing for newer features # -$RPC_CMD curl --fail-with-body --version > /dev/null +$RPC_CMD curl --fail-with-body --version > /dev/null 2>&1 if [ $? -eq 0 ]; then CURL_CMD="$RPC_CMD curl --silent --fail-with-body" else -- cgit