]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/bus-util: fix misleading error handling
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 4 Jun 2020 15:41:18 +0000 (17:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 22 Jun 2020 14:32:37 +0000 (16:32 +0200)
commit6cd55d6f74a49ebf6532f913f6a9cde3efcd34cf
tree890012245261404ce44d69c0396194abe4a8eab1
parente2ab8e09c8f5005f98e7ae6b4655f12514bae36a
shared/bus-util: fix misleading error handling

set_put()/set_ensure_put() return 0, not -EEXIST, if the entry is already
found in the set. In this case this does not make any difference, but let's
not confuse the reader.
src/shared/bus-util.c