Commit bf5e12c8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

if the cvs update fails, don't continue further

parent de11f5e5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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"