mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 13:38:45 +02:00
libply-splash-core: also monitor for file removal in udev directory
Ensure plymouth detects coldplug completion with recent udev (>= 213).
This commit is contained in:
parent
05cbf14855
commit
b7fdd62fff
1 changed files with 1 additions and 1 deletions
|
|
@ -716,7 +716,7 @@ watch_for_coldplug_completion (ply_device_manager_t *manager)
|
|||
}
|
||||
|
||||
fd = inotify_init1 (IN_CLOEXEC);
|
||||
result = inotify_add_watch (fd, "/run/udev", IN_MOVED_TO);
|
||||
result = inotify_add_watch (fd, "/run/udev", IN_MOVED_TO| IN_DELETE);
|
||||
|
||||
if (result < 0) {
|
||||
ply_trace ("could not watch for udev to show up: %m");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue