diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-16 19:13:42 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-16 19:13:42 +0200 |
commit | 4b718be86db37a37c83793ca410e8d9968e615f2 (patch) | |
tree | 9de5e420db412671f0439f86dcd74ab9ec39e24c /udev/udevadm-settle.c | |
parent | 85e172c9bd223e08f31b466f86df3cca2b517216 (diff) |
libudev: queue - always rebuild queue file when nothing is queued anymore
Diffstat (limited to 'udev/udevadm-settle.c')
-rw-r--r-- | udev/udevadm-settle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c index 9492abd401..b717ae60de 100644 --- a/udev/udevadm-settle.c +++ b/udev/udevadm-settle.c @@ -153,7 +153,7 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[]) if (pfd[0].fd < 0) { err(udev, "inotify_init failed: %m\n"); } else { - if (inotify_add_watch(pfd[0].fd, udev_get_run_path(udev), IN_CLOSE_WRITE) < 0) { + if (inotify_add_watch(pfd[0].fd, udev_get_run_path(udev), IN_MOVED_TO) < 0) { err(udev, "watching '%s' failed\n", udev_get_run_path(udev)); close(pfd[0].fd); pfd[0].fd = -1; |