aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 8b66bc070..c7acd8534 100644
--- a/src/database.c
+++ b/src/database.c
@@ -58,7 +58,7 @@ db_init(void)
g_error("directory update failed");
do {
- wait_main_task();
+ event_pipe_wait();
reap_update_task();
} while (isUpdatingDB());