if the cvs update fails, don't continue further

This commit is contained in:
Daniel Stenberg 2003-03-20 14:38:42 +00:00
parent de11f5e53a
commit bf5e12c8e0
1 changed files with 5 additions and 0 deletions

View File

@ -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"