mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
udev-node: add one more debug log when failed to create symlink
This commit is contained in:
parent
a126a38a9f
commit
6bee206591
@ -73,6 +73,8 @@ static int node_symlink(sd_device *dev, const char *node, const char *slink) {
|
||||
} while (r == -ENOENT);
|
||||
if (r == 0)
|
||||
return 0;
|
||||
if (r < 0)
|
||||
log_device_debug_errno(dev, r, "Failed to create symlink '%s' to '%s', trying to replace '%s': %m", slink, target, slink);
|
||||
}
|
||||
|
||||
log_device_debug(dev, "Atomically replace '%s'", slink);
|
||||
|
Loading…
Reference in New Issue
Block a user