]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
homed: fix dbus node enumerator
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 26 Jul 2022 10:31:31 +0000 (19:31 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 26 Jul 2022 14:11:34 +0000 (23:11 +0900)
Fixes #24114.

src/home/homed-home-bus.c

index b39ca3262c7695a97d5e0699bf1280829cf7fcaa..4663792e5c34dde026b922c666b5c414e9883cf2 100644 (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);