summaryrefslogtreecommitdiff
path: root/src/dged/reactor-epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/reactor-epoll.c')
-rw-r--r--src/dged/reactor-epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dged/reactor-epoll.c b/src/dged/reactor-epoll.c
index 22888f6..ead0296 100644
--- a/src/dged/reactor-epoll.c
+++ b/src/dged/reactor-epoll.c
@@ -82,7 +82,7 @@ bool reactor_poll_event(struct reactor *reactor, uint32_t ev_id) {
uint32_t reactor_watch_file(struct reactor *reactor, const char *path,
uint32_t mask) {
// TODO: change if we get more event types
- mask = IN_MODIFY;
+ mask = IN_CLOSE_WRITE;
int fd = inotify_add_watch(reactor->inotify_fd, path, mask);
if (fd == -1) {