udev-watch: mention that the failure is ignored

This commit is contained in:
Yu Watanabe
2025-02-12 09:26:51 +09:00
parent 951def0e27
commit a52aad3b4b
+1 -1
View File
@@ -167,7 +167,7 @@ finalize:
/* 5. remove symlink ID -> wd.
* The file is always owned by the device. Hence, it is safe to remove it unconditionally. */
if (unlinkat(dirfd, id, 0) < 0 && errno != ENOENT)
log_device_debug_errno(dev, errno, "Failed to remove '/run/udev/watch/%s': %m", id);
log_device_debug_errno(dev, errno, "Failed to remove '/run/udev/watch/%s', ignoring: %m", id);
return r;
}