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/libsystemd-bus/bus-objects.c | |
parent | adcc4ca30dc8ca0cddfcab64ad2eab6f6ab6fe21 (diff) |
bus: deal with duplicate values from enumerators
Diffstat (limited to 'src/libsystemd-bus/bus-objects.c')
-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); |