diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-22 01:51:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-22 01:57:30 +0100 |
commit | 52c7f2b2d58394c791ea0c6cf706082fd418f5bc (patch) | |
tree | 45814eeee659c5b8c52cd8d18918960d249dd463 /src | |
parent | adcc4ca30dc8ca0cddfcab64ad2eab6f6ab6fe21 (diff) | |
download | systemd-52c7f2b2d58394c791ea0c6cf706082fd418f5bc.tar.gz systemd-52c7f2b2d58394c791ea0c6cf706082fd418f5bc.tar.bz2 systemd-52c7f2b2d58394c791ea0c6cf706082fd418f5bc.zip |
bus: deal with duplicate values from enumerators
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/bus-objects.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-objects.c b/src/libsystemd-bus/bus-objects.c index 7c8a774e73..659f7cec83 100644 --- a/src/libsystemd-bus/bus-objects.c +++ b/src/libsystemd-bus/bus-objects.c @@ -135,6 +135,8 @@ static int add_enumerated_to_set( } r = set_consume(s, *k); + if (r == -EEXIST) + r = 0; } free(children); |