mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
Issue 115, fix by semerad
This commit is contained in:
parent
6b9fd39fea
commit
fb928f4d2b
@ -225,8 +225,9 @@ handle_event(lua_State *L,
|
||||
} else if (IN_ATTRIB & event->mask) {
|
||||
// just attrib change
|
||||
event_type = ATTRIB;
|
||||
} else if (IN_CLOSE_WRITE & event->mask) {
|
||||
// closed after written something
|
||||
} else if ((IN_CLOSE_WRITE | IN_MODIFY) & event->mask) {
|
||||
// modify, or closed after written something
|
||||
// the event type received depends settings.inotifyMode
|
||||
event_type = MODIFY;
|
||||
} else if (IN_CREATE & event->mask) {
|
||||
// a new file
|
||||
|
Loading…
Reference in New Issue
Block a user