]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - keydb_db3.c
cscvs to tla changeset 75
[onak.git] / keydb_db3.c
index 0f4239bd212b37cb8621ce46ed799d807a9d166e..7ca5312612c5264aaba5fb38124f840cf6cc271b 100644 (file)
@@ -759,7 +759,10 @@ int dumpdb(char *filenamebase)
                memset(&data, 0, sizeof(data));
                ret = cursor->c_get(cursor, &key, &data, DB_NEXT);
        }
-       logthing(LOGTHING_ERROR, "Problem reading key: %s", db_strerror(ret));
+       if (ret != DB_NOTFOUND) {
+               logthing(LOGTHING_ERROR, "Problem reading key: %s",
+                               db_strerror(ret));
+       }
 
        close(fd);