udev-watch: retry to save watch handle with random delay
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 12 Sep 2021 06:49:22 +0000 (15:49 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 13 Sep 2021 09:53:00 +0000 (18:53 +0900)
commit2d3af41f0e837390b734253f5c4a99a9f33c53e3
tree71179c43d24c8630ec77039298ea6ba5d1bd2d63
parent20ec7d9ed53bb4820f4001e3527e0a966d3bcbec
udev-watch: retry to save watch handle with random delay

Also, remove the watch handle if we cannot save it.
src/udev/udev-watch.c