Skip to content

Commit

Permalink
tools/unitc: Redirect stderr for curl feature test
Browse files Browse the repository at this point in the history
[ Tweaked subject prefix - Andrew ]
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
  • Loading branch information
lcrilly authored and ac000 committed Jun 18, 2024
1 parent 35a572c commit ec11eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/unitc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec11eb1

Please sign in to comment.