Files
systemd/src/udev
Yu Watanabe b3b4420620 udev-watch: do not try to remove invalid watch handle
When a new device is processed, there should be no watch handle for
the device, hence udev_watch_clear() provides -1. Let's not try to call
inotify_rm_watch() in that case.

This should not change any behavior. Just for suppressing spurious
debugging log:
=====
(udev-worker)[3626140]: zram1: Removing watch handle -1.
=====
2025-02-12 09:27:24 +09:00
..
2024-10-02 11:26:58 +02:00
2025-01-23 22:23:45 +09:00
2025-01-23 22:23:45 +09:00
2024-12-14 16:19:57 +09:00
2025-01-23 22:23:45 +09:00
2025-01-23 22:23:45 +09:00
2025-01-23 22:23:45 +09:00