mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
machinectl: ignore return value of get_process_comm()
Fixes: CID#1469720
This commit is contained in:
parent
a30c9e7176
commit
8d862fd39d
|
@ -533,7 +533,7 @@ static void print_machine_status_info(sd_bus *bus, MachineStatusInfo *i) {
|
|||
|
||||
printf("\t Leader: %u", (unsigned) i->leader);
|
||||
|
||||
get_process_comm(i->leader, &t);
|
||||
(void) get_process_comm(i->leader, &t);
|
||||
if (t)
|
||||
printf(" (%s)", t);
|
||||
|
||||
|
|
Loading…
Reference in a new issue