diff options
Diffstat (limited to '')
-rw-r--r-- | src/update.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 6aecd3265..ea8b3f820 100644 --- a/src/update.c +++ b/src/update.c @@ -647,8 +647,9 @@ static void * update_task(void *_path) updateDirectory(directory, &st); } - if (modified) + if (modified || !db_exists()) db_save(); + progress = UPDATE_PROGRESS_DONE; event_pipe_emit(PIPE_EVENT_UPDATE); return NULL; |