]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: do not remove /run/udev/queue file when we are synthesizing events
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Apr 2025 03:53:29 +0000 (12:53 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 27 Apr 2025 00:47:07 +0000 (09:47 +0900)
commit5de236bd0771088cc5958559267a5b59ec99ed77
treea1007474b2d7121393bc7c1a97be88853238b0b8
parent17b43e213bcf09024e56f649b57932567785f27c
udev: do not remove /run/udev/queue file when we are synthesizing events

Note, it should be safe even if we synthesize no event, e.g. when the
device has been already removed. In such case, the post event after
SIGCHLD will remove the file.
src/udev/udev-manager.c