Skip to content

Commit

Permalink
Fix #340: Finit ignores deleted/moved .conf files in /etc/finit.d
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
troglobit committed Jan 7, 2023
1 parent 2a62fa3 commit 73b8943
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73b8943

Please sign in to comment.