summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-01-02 20:29:04 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-01-02 21:38:22 +0100
commit9a14fb6285bdb089d4fc195410de3362cb4f586f (patch)
treeb53dc143267e29757e30e600e586bf4fa5620e9f /src
parenta29fca906c32f709c7c560d5f17654e6e2c318e1 (diff)
machinectl: Check type instead of path before printing the type
Looks like a typo when introduced in fefdc04b38725457a91651218feb7000f6ccc1f4
Diffstat (limited to 'src')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index b1d170787b..37f6027ada 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)