X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/2edb917ed0be24b4a525bef5aa346389afbd1be3..6a721665f41611f80cb878237b5d7fa650ccbe20:/keydb_db3.c?ds=sidebyside diff --git a/keydb_db3.c b/keydb_db3.c index 0f4239b..7ca5312 100644 --- a/keydb_db3.c +++ b/keydb_db3.c @@ -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);