From: Daniel Stenberg Date: Thu, 20 Mar 2003 14:38:42 +0000 (+0000) Subject: if the cvs update fails, don't continue further X-Git-Tag: curl-7_10_4~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf5e12c8e0deb5ccb05feaaf997c59aaa255d8b3;p=curl if the cvs update fails, don't continue further --- diff --git a/testcurl.sh b/testcurl.sh index 3917d5dac..79d1b32b3 100755 --- a/testcurl.sh +++ b/testcurl.sh @@ -112,6 +112,11 @@ cvs -Q up -dP 2>&1 cvsstat=$? echo "testcurl: cvs returned: $cvsstat" +if [ "$cvsstat" -ne "0" ]; then + echo "testcurl: failed to update from CVS, exiting" + die +fi + # figure out the current collected CVS status newstat="../allcvs.log" oldstat="../oldcvs.log"