aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Container.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db/update/Container.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db/update/Container.cxx b/src/db/update/Container.cxx
index 9f8d84839..1c420fa99 100644
--- a/src/db/update/Container.cxx
+++ b/src/db/update/Container.cxx
@@ -42,6 +42,9 @@ UpdateWalk::MakeDirectoryIfModified(Directory &parent, const char *name,
// directory exists already
if (directory != nullptr) {
+ if (directory->IsMount())
+ return nullptr;
+
if (directory->mtime == info.mtime && !walk_discard) {
/* not modified */
return nullptr;