mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
bus: deal with duplicate values from enumerators
This commit is contained in:
parent
adcc4ca30d
commit
52c7f2b2d5
|
@ -135,6 +135,8 @@ static int add_enumerated_to_set(
|
|||
}
|
||||
|
||||
r = set_consume(s, *k);
|
||||
if (r == -EEXIST)
|
||||
r = 0;
|
||||
}
|
||||
|
||||
free(children);
|
||||
|
|
Loading…
Reference in a new issue