]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
home: fix copy-and-paste mistake
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 9 Nov 2020 05:00:14 +0000 (14:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 9 Nov 2020 05:00:16 +0000 (14:00 +0900)
Fixes #17542.

src/home/homed-manager.c

index 049003241606efdfa250cd219e1faf2aecec69db..305cff8c81db1925626051920d68ea35832e9363 100644 (file)
@@ -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))