Skip to content

Commit 73b8943

Browse files
committed
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>
1 parent 2a62fa3 commit 73b8943

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/conf.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,11 +1040,6 @@ static int do_change(char *dir, char *name, uint32_t mask)
10401040
dbg("path: %s mask: %08x", fn, mask);
10411041

10421042
node = conf_find(fn);
1043-
if (mask & (IN_DELETE | IN_MOVED_FROM)) {
1044-
drop_change(node);
1045-
return 0;
1046-
}
1047-
10481043
if (node) {
10491044
dbg("Event already registered for %s ...", name);
10501045
return 0;

0 commit comments

Comments
 (0)