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 21:38:22 +01:00
parent a29fca906c
commit 9a14fb6285
+1 -1
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)