[systemd-commits] src/machine
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Fri Jan 2 12:38:26 PST 2015
src/machine/machinectl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9a14fb6285bdb089d4fc195410de3362cb4f586f
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Jan 2 20:29:04 2015 +0100
machinectl: Check type instead of path before printing the type
Looks like a typo when introduced in fefdc04b38725457a91651218feb7000f6ccc1f4
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index b1d1707..37f6027 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)
More information about the systemd-commits
mailing list