Index: src/main.c =================================================================== --- src/main.c (Revision 78503) +++ src/main.c (Arbeitskopie) @@ -576,7 +576,7 @@ /* if no ID is set, assume the database has just been initialized */ rv = cache_get_master_entry(&cache_master_entry); - if (rv == MDB_NOTFOUND) { + if (rv) { cache_get_int("notifier_id", &cache_master_entry.id, -1); if (cache_master_entry.id == -1) { rv = notifier_get_id_s(NULL, &cache_master_entry.id);