chiark / gitweb /
machinectl: remove spurious newline
[elogind.git] / src / machine / machinectl.c
index b1d170787b28c5c2f121f7491579b8ccda6e216c..11f2273e4b68962af4140123234f0a34631315fb 100644 (file)
@@ -250,7 +250,6 @@ static int list_images(int argc, char *argv[], void *userdata) {
                        (int) max_mtime, strna(format_timestamp(mtime_buf, sizeof(mtime_buf), images[j].mtime)));
         }
 
-
         if (arg_legend)
                 printf("\n%zu images listed.\n", n_images);
 
@@ -679,7 +678,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)