From 73b89430e41b3d5992071eca4df0c9e010403d26 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 7 Jan 2023 13:19:30 +0100 Subject: [PATCH] Fix #340: Finit ignores deleted/moved .conf files in /etc/finit.d Works locally with/without this patch, but I cannot understand why it would ever be needed in the first place, so removing. Signed-off-by: Joachim Wiberg --- src/conf.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/conf.c b/src/conf.c index acd2d094..4657cfef 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1040,11 +1040,6 @@ static int do_change(char *dir, char *name, uint32_t mask) dbg("path: %s mask: %08x", fn, mask); node = conf_find(fn); - if (mask & (IN_DELETE | IN_MOVED_FROM)) { - drop_change(node); - return 0; - } - if (node) { dbg("Event already registered for %s ...", name); return 0;