1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-15 01:49:58 +03:00

udev-watch: mention that the failure is ignored

This commit is contained in:
Yu Watanabe
2025-02-12 09:22:49 +09:00
parent 951def0e27
commit a52aad3b4b

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;
}