1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-07 01:58:02 +03:00

homed: fix dbus node enumerator

Fixes #24114.

(cherry picked from commit 52023622d2f8312887fcf72ca29bab4ad42c8eb7)
(cherry picked from commit 834632a4775e72d361a493979fd038f48163f65c)
This commit is contained in:
Yu Watanabe 2022-07-26 19:31:31 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 81bc16ab7c
commit ed66376b05

View File

@ -771,6 +771,8 @@ static int bus_home_node_enumerator(
r = bus_home_path(h, l + k);
if (r < 0)
return r;
k++;
}
*nodes = TAKE_PTR(l);