aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/update.c b/src/update.c
index f27247628..1edb8cc01 100644
--- a/src/update.c
+++ b/src/update.c
@@ -680,6 +680,9 @@ directory_update_init(char *path)
{
assert(g_thread_self() == main_task);
+ if (!mapper_has_music_directory())
+ return 0;
+
if (progress != UPDATE_PROGRESS_IDLE) {
unsigned next_task_id;