summaryrefslogtreecommitdiffstats
path: root/src/home/homed-manager.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-11-09 06:00:14 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-11-09 06:00:16 +0100
commit755b35b1aa6eda16a2cf02be3e4aa44d08fc17a3 (patch)
tree4970e3da946275da9bec16415b5c2e4caa69a92c /src/home/homed-manager.c
parenthwdb: Add support for HP ZBook Studio G5 keyboard (#17525) (diff)
downloadsystemd-755b35b1aa6eda16a2cf02be3e4aa44d08fc17a3.tar.xz
systemd-755b35b1aa6eda16a2cf02be3e4aa44d08fc17a3.zip
home: fix copy-and-paste mistake
Fixes #17542.
Diffstat (limited to '')
-rw-r--r--src/home/homed-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c
index 0490032416..305cff8c81 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))