diff options
-rw-r--r-- | src/db/update/InotifyUpdate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/InotifyUpdate.cxx b/src/db/update/InotifyUpdate.cxx index 5736c6e5e..0ccd19896 100644 --- a/src/db/update/InotifyUpdate.cxx +++ b/src/db/update/InotifyUpdate.cxx @@ -261,7 +261,7 @@ mpd_inotify_callback(int wd, unsigned mask, (mask & IN_ISDIR) != 0) { /* a sub directory was changed: register those in inotify */ - const auto &root = mapper_get_music_directory_fs(); + const auto &root = inotify_root->name; const auto path_fs = uri_fs.IsNull() ? root |