mirror of
https://github.com/troglobit/finit.git
synced 2026-11-29 21:08:21 +00: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:
1 parent
2a62fa3d85
commit
73b89430e4
1 file changed
-5
@@ -1040,11 +1040,6 @@ static int do_change(char *dir, char *name, uint32_t mask)
|
|||||||
dbg("path: %s mask: %08x", fn, mask);
|
dbg("path: %s mask: %08x", fn, mask);
|
||||||
|
|
||||||
node = conf_find(fn);
|
node = conf_find(fn);
|
||||||
if (mask & (IN_DELETE | IN_MOVED_FROM)) {
|
|
||||||
drop_change(node);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (node) {
|
if (node) {
|
||||||
dbg("Event already registered for %s ...", name);
|
dbg("Event already registered for %s ...", name);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in new issue
Block a user