aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index bd069f8b4..2581e408b 100644
--- a/src/database.c
+++ b/src/database.c
@@ -46,7 +46,7 @@ db_init(void)
music_root = directory_new("", NULL);
ret = directory_update_init(NULL);
- if (ret < 0)
+ if (ret == 0)
FATAL("directory update failed\n");
do {