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 <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-01-07 14:00:28 +01:00
parent 2a62fa3d85
commit 73b89430e4
-5
View File
@@ -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;