summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/testdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index e3b331ab..cd8c4d83 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -69,7 +69,7 @@ static int check_localdb_files(void)
while((ent = readdir(dir)) != NULL) {
if(strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0
- || ent->d_name[0] == '.') {
+ || strcmp(ent->d_name, "ALPM_DB_VERSION") == 0) {
continue;
}
/* check for known db files in local database */