mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
machinectl: Check type instead of path before printing the type
Looks like a typo when introduced in fefdc04b38725457a91651218feb7000f6ccc1f4
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…
x
Reference in New Issue
Block a user