mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-23 07:08:33 +00:00
sync on IN_ATTRIB as well
This commit is contained in:
parent
7fc6677f7e
commit
247b2252ed
2
lsyncd.c
2
lsyncd.c
@ -1200,7 +1200,7 @@ bool handle_event(struct inotify_event *event)
|
|||||||
remove_dirwatch(event->name, watch);
|
remove_dirwatch(event->name, watch);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((IN_CREATE | IN_CLOSE_WRITE | IN_DELETE |
|
if ((IN_ATTRIB | IN_CREATE | IN_CLOSE_WRITE | IN_DELETE |
|
||||||
IN_MOVED_TO | IN_MOVED_FROM) & event->mask
|
IN_MOVED_TO | IN_MOVED_FROM) & event->mask
|
||||||
) {
|
) {
|
||||||
printlogf(NORMAL, "event %s:%s triggered.", masktext, event->name);
|
printlogf(NORMAL, "event %s:%s triggered.", masktext, event->name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user