mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 06:25:25 +03:00
machinectl: Check type instead of path before printing the type
Looks like a typo when introduced in fefdc04b38
This commit is contained in:
parent
a29fca906c
commit
9a14fb6285
@ -679,7 +679,7 @@ static void print_image_status_info(sd_bus *bus, ImageStatusInfo *i) {
|
||||
putchar('\n');
|
||||
}
|
||||
|
||||
if (i->path)
|
||||
if (i->type)
|
||||
printf("\t Type: %s\n", i->type);
|
||||
|
||||
if (i->path)
|
||||
|
Loading…
Reference in New Issue
Block a user