wendy

inotify based node watcher
git clone git://git.2f30.org/wendy
Log | Files | Refs | README | LICENSE

commit f1ecd626eacbcac98fe252a4b7b5a463acaed2d6
parent 7fb6bed951223737cf5f0440b1bbdb00368e0e30
Author: Willy Goiffon <dev@z3bra.org>
Date:   Fri, 28 Feb 2020 19:52:45 +0100

Prevent exiting too early when removing a watcher

Diffstat:
Mwendy.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/wendy.c b/wendy.c @@ -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: