From 920009efa99204de172332486de5ccff6a3332d5 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 19 Jun 2014 17:58:50 +0200 Subject: [PATCH] libply-splash-core: also monitor for file removal in udev directory --- src/libply-splash-core/ply-device-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libply-splash-core/ply-device-manager.c b/src/libply-splash-core/ply-device-manager.c index aa4d15c..06d751c 100644 --- a/src/libply-splash-core/ply-device-manager.c +++ b/src/libply-splash-core/ply-device-manager.c @@ -761,7 +761,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) { -- 1.8.4.5