X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/2edb917ed0be24b4a525bef5aa346389afbd1be3..dd37c5ea8e61e9bec43d01ff1551202bea7402dc:/keydb_db3.c 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);