mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
FolderWatcher: Remove IN_DONT_FOLLOW #3475
This fixes the case of the root folder being symlinked.
This commit is contained in:
parent
e3b53b7e74
commit
df1b309b36
@ -79,8 +79,7 @@ void FolderWatcherPrivate::inotifyRegisterPath(const QString& path)
|
||||
int wd = inotify_add_watch(_fd, path.toUtf8().constData(),
|
||||
IN_CLOSE_WRITE | IN_ATTRIB | IN_MOVE |
|
||||
IN_CREATE |IN_DELETE | IN_DELETE_SELF |
|
||||
IN_MOVE_SELF |IN_UNMOUNT |IN_ONLYDIR |
|
||||
IN_DONT_FOLLOW );
|
||||
IN_MOVE_SELF |IN_UNMOUNT |IN_ONLYDIR);
|
||||
if( wd > -1 ) {
|
||||
_watches.insert(wd, path);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user