diff --git a/testcurl.sh b/testcurl.sh index a72ca4409ab902beb76e20d2a0620009ffd1a359..f256e06cf61cd80d5cf697b1a86774642ee4eb9a 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"