tPrevent exiting too early when removing a watcher - wendy - watch files/directories and run commands on any event
(HTM) git clone git://z3bra.org/wendy
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f1ecd626eacbcac98fe252a4b7b5a463acaed2d6
(DIR) parent 7fb6bed951223737cf5f0440b1bbdb00368e0e30
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 19:52:45 +0100
Prevent exiting too early when removing a watcher
Diffstat:
M wendy.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/wendy.c b/wendy.c
t@@ -155,7 +155,6 @@ main (int argc, char **argv)
inotify_rm_watch(fd, e->wd);
if ((w->wd = inotify_add_watch(fd, w->path, mask)) < 0)
SLIST_REMOVE(&head, w, watcher, entries);
- break;
}
skip: