fix ignored parameter from testing
This commit is contained in:
parent
8dc6ca9a09
commit
98701be20c
@ -668,7 +668,7 @@ WatchDirectory(string dir, WatchType type, bool blocking = false)
|
||||
fcntl(watcher.handle, F_SETFL, fcntl(watcher.handle, F_GETFL) | O_NONBLOCK);
|
||||
}
|
||||
|
||||
watcher.dir_handle = inotify_add_watch(watcher.handle, dir.ptr, IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MODIFY|IN_MOVE_SELF|IN_MOVED_FROM|IN_MOVED_TO|IN_ATTRIB|IN_EXCL_UNLINK);
|
||||
watcher.dir_handle = inotify_add_watch(watcher.handle, dir.ptr, type);
|
||||
|
||||
return watcher;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user