mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
core: fix serilization of ListJobs() response
This commit is contained in:
@@ -774,8 +774,9 @@ static int method_list_jobs(sd_bus *bus, sd_bus_message *message, void *userdata
|
||||
r = sd_bus_message_append(
|
||||
reply, "(usssoo)",
|
||||
j->id,
|
||||
job_state_to_string(j->state),
|
||||
j->unit->id,
|
||||
job_type_to_string(j->type),
|
||||
job_state_to_string(j->state),
|
||||
job_path,
|
||||
unit_path);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user