mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user