summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemctl/systemctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 77fc80b244..0e6b2ec30c 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -1762,8 +1762,7 @@ static void check_listening_sockets(
log_warning("%s", service_trigger);
}
next:
- dbus_message_iter_recurse(&iter, &sub);
- iter = sub;
+ dbus_message_iter_next(&sub);
}
finish:
if (m)