From 9a14fb6285bdb089d4fc195410de3362cb4f586f Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Fri, 2 Jan 2015 20:29:04 +0100 Subject: [PATCH] machinectl: Check type instead of path before printing the type Looks like a typo when introduced in fefdc04b38725457a91651218feb7000f6ccc1f4 --- src/machine/machinectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index b1d170787..37f6027ad 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -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) -- 2.30.2