]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
print update message only if we really update CVS.
authorGunter Knauf <gk@gknw.de>
Sun, 1 Apr 2007 13:59:50 +0000 (13:59 +0000)
committerGunter Knauf <gk@gknw.de>
Sun, 1 Apr 2007 13:59:50 +0000 (13:59 +0000)
tests/testcurl.pl

index d2379f69c8d852fb706d147583dce9c46dd60a6b..6948bfcccad683908dcb702a0ee498c0665a8aa2 100755 (executable)
@@ -343,12 +343,12 @@ if ($CVS) {
 
   sub cvsup() {
     # update quietly to the latest CVS
-    logit "run cvs up";
     if($nocvsup) {
         logit "Skipping CVS update (--nocvsup)";
         return 1;
     }
     else {
+        logit "run cvs up";
         system("cvs -Q up -dP 2>&1");
     }