mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
networkd: show wireguard private key read error number
Noticed while looking at #35641
This commit is contained in:
parent
930d65ccca
commit
0543b02cf8
@ -1198,7 +1198,7 @@ static int wireguard_verify(NetDev *netdev, const char *filename) {
|
||||
r = wireguard_read_key_file(w->private_key_file, w->private_key);
|
||||
if (r < 0)
|
||||
return log_netdev_error_errno(netdev, r,
|
||||
"Failed to read private key from %s. Ignoring network device.",
|
||||
"Failed to read private key from '%s', ignoring network device: %m",
|
||||
w->private_key_file);
|
||||
|
||||
if (eqzero(w->private_key)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user