diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 99136d4a0d..dea7d3a859 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4907,10 +4907,7 @@ static int print_property(const char *name, sd_bus_message *m, const char *conte return bus_log_parse_error(r); while ((r = sd_bus_message_read(m, "(ss)", &type, &path)) > 0) - if (arg_value) - puts(path); - else - printf("Listen%s=%s\n", type, path); + print_prop(name, "%s (%s)", path, type); if (r < 0) return bus_log_parse_error(r);