diff options
author | Liam Crilly <liam.crilly@nginx.com> | 2024-06-18 11:38:54 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-06-18 14:08:08 +0100 |
commit | ec11eb1252ed1fe147f993cb6e3f20be81bc0d08 (patch) | |
tree | 2ea565c188873dad888a3de8c3c88f9702d9aea3 | |
parent | 35a572c2813ed2cae6af2282cb361e901a79934d (diff) | |
download | unit-ec11eb1252ed1fe147f993cb6e3f20be81bc0d08.tar.gz unit-ec11eb1252ed1fe147f993cb6e3f20be81bc0d08.tar.bz2 |
tools/unitc: Redirect stderr for curl feature test
[ Tweaked subject prefix - Andrew ]
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rwxr-xr-x | tools/unitc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |