mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-23 07:08:33 +00:00
fix-removed-watch-index.patch
This commit is contained in:
parent
101d89610a
commit
559fd1d18f
2
lsyncd.c
2
lsyncd.c
@ -1084,7 +1084,7 @@ bool handle_event(struct inotify_event *event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (((IN_DELETE | IN_MOVED_FROM) & event->mask) && (IN_ISDIR & event->mask)) {
|
if (((IN_DELETE | IN_MOVED_FROM) & event->mask) && (IN_ISDIR & event->mask)) {
|
||||||
remove_dirwatch(event->name, i);
|
remove_dirwatch(event->name, watch);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((IN_CREATE | IN_CLOSE_WRITE | IN_DELETE |
|
if ((IN_CREATE | IN_CLOSE_WRITE | IN_DELETE |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user