From: Daniel Stenberg Date: Fri, 30 Jan 2004 09:48:55 +0000 (+0000) Subject: hide the grep result X-Git-Tag: cares-1_1_0~402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=154c9bc3b88703316b1ff5c6c2230b41718d6c43;p=curl hide the grep result --- diff --git a/testcurl.sh b/testcurl.sh index a72ca4409..f256e06cf 100755 --- a/testcurl.sh +++ b/testcurl.sh @@ -186,7 +186,7 @@ if [ $CVS -eq 1 ]; then # generate the build files ./buildconf 2>&1 | tee build.log - if { grep "^buildconf: OK" build.log; } then + if { grep "^buildconf: OK" build.log >/dev/null 2>&1; } then echo "testcurl: buildconf was successful" else echo "testcurl: buildconf was NOT successful"