mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
nspawn: do not include '%m' in log message if errno is zero
This commit is contained in:
parent
94c9ff1606
commit
c65ac075ef
@ -391,7 +391,7 @@ int config_parse_network_zone(
|
||||
|
||||
j = strappend("vz-", rvalue);
|
||||
if (!ifname_valid(j)) {
|
||||
log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid network zone name %s, ignoring: %m", rvalue);
|
||||
log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid network zone name, ignoring: %s", rvalue);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user