Fix for "Mount-Points are purged from database on update/rescan."
Signed-off-by: FlashSystems <developer@flashsystems.de>
This commit is contained in:
committed by
Max Kellermann
parent
53def9a682
commit
63fc98591d
@@ -104,7 +104,7 @@ inline void
|
||||
UpdateWalk::PurgeDeletedFromDirectory(Directory &directory)
|
||||
{
|
||||
directory.ForEachChildSafe([&](Directory &child){
|
||||
if (DirectoryExists(storage, child))
|
||||
if (child.IsMount() || DirectoryExists(storage, child))
|
||||
return;
|
||||
|
||||
editor.LockDeleteDirectory(&child);
|
||||
|
||||
Reference in New Issue
Block a user