1
1
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:
Thomas Hindoe Paaboel Andersen 2015-01-02 20:29:04 +01:00
parent a29fca906c
commit 9a14fb6285

View File

@ -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)