1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

homed: fix dbus node enumerator

Fixes #24114.

(cherry picked from commit 52023622d2)
This commit is contained in:
Yu Watanabe 2022-07-26 19:31:31 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 200cbc299b
commit 834632a477

View File

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