aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/UpdateGlue.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db/update/UpdateGlue.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/update/UpdateGlue.cxx b/src/db/update/UpdateGlue.cxx
index 285143ffe..742fbfe98 100644
--- a/src/db/update/UpdateGlue.cxx
+++ b/src/db/update/UpdateGlue.cxx
@@ -44,7 +44,8 @@ UpdateService::Task()
SetThreadIdlePriority();
- modified = walk.Walk(next.path_utf8.c_str(), next.discard);
+ modified = walk.Walk(*db_get_root(), next.path_utf8.c_str(),
+ next.discard);
if (modified || !db_exists()) {
Error error;