aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a0385733c..775ae9a72 100644
--- a/src/main.c
+++ b/src/main.c
@@ -350,7 +350,7 @@ int main(int argc, char *argv[])
if (create_db) {
/* the database failed to load: recreate the
database */
- unsigned job = directory_update_init(NULL);
+ unsigned job = update_enqueue(NULL);
if (job == 0)
g_error("directory update failed");
}