Doh, dont shadow the rpmtsVerifyDB() return value
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Apr 2010 12:47:59 +0000 (15:47 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Apr 2010 12:51:41 +0000 (15:51 +0300)
lib/rpmts.c

index 0dc39d9..42556db 100644 (file)
@@ -138,7 +138,7 @@ int rpmtsVerifyDB(rpmts ts)
     int rc = -1;
     rpmlock lock = rpmtsAcquireLock(ts);
     if (lock) {
-       int rc = rpmdbVerify(ts->rootDir);
+       rc = rpmdbVerify(ts->rootDir);
        rpmlockFree(lock);
     }
     return rc;