chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
machinectl: Check type instead of path before printing the type
[elogind.git]
/
src
/
machine
/
machinectl.c
diff --git
a/src/machine/machinectl.c
b/src/machine/machinectl.c
index b1d170787b28c5c2f121f7491579b8ccda6e216c..37f6027ada067979b7e354d80f5716a04d2a33d7 100644
(file)
--- 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)