diff options
Diffstat (limited to 'src/systemctl/systemctl-show.c')
-rw-r--r-- | src/systemctl/systemctl-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-show.c b/src/systemctl/systemctl-show.c index f78cf307ca..c004b804a5 100644 --- a/src/systemctl/systemctl-show.c +++ b/src/systemctl/systemctl-show.c @@ -952,7 +952,7 @@ static int map_exec(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_e if (!info) return -ENOMEM; - LIST_FIND_TAIL(exec_status_info_list, i->exec_status_info_list, last); + last = LIST_FIND_TAIL(exec_status_info_list, i->exec_status_info_list); while ((r = exec_status_info_deserialize(m, info, is_ex_prop)) > 0) { |