mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
udev: fixed config_parse_ifalias() logic not to skip setting IFLA_IFALIAS
this flaw was introduced in 6a74900002
This commit is contained in:
parent
e4885958dc
commit
d1df0466d9
@ -993,7 +993,7 @@ int config_parse_ifalias(
|
||||
assert(rvalue);
|
||||
assert(data);
|
||||
|
||||
if (!isempty(rvalue)) {
|
||||
if (isempty(rvalue)) {
|
||||
*s = mfree(*s);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user