chiark / gitweb /
cgroup: memory limits on / are not supported
[elogind.git] / src / machine / machinectl.c
index 0abc251cf808f1815ea40939b1184b682b6a8b9f..11f2273e4b68962af4140123234f0a34631315fb 100644 (file)
@@ -250,10 +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 (r < 0)
-                return bus_log_parse_error(r);
-
-
         if (arg_legend)
                 printf("\n%zu images listed.\n", n_images);
 
@@ -682,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)