From 755b35b1aa6eda16a2cf02be3e4aa44d08fc17a3 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 9 Nov 2020 14:00:14 +0900 Subject: [PATCH] home: fix copy-and-paste mistake Fixes #17542. --- src/home/homed-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index 04900324160..305cff8c81d 100644 --- a/src/home/homed-manager.c +++ b/src/home/homed-manager.c @@ -159,7 +159,7 @@ static int on_home_inotify(sd_event_source *s, const struct inotify_event *event (void) bus_manager_emit_auto_login_changed(m); } - if ((event->mask & (IN_DELETE|IN_MOVED_FROM|IN_DELETE)) != 0) { + if ((event->mask & (IN_DELETE | IN_CLOSE_WRITE | IN_MOVED_FROM)) != 0) { Home *h; if (FLAGS_SET(event->mask, IN_DELETE)) -- 2.47.3