diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 724aedc532..b6563f9ab3 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -1002,6 +1002,8 @@ static int dissect_image( type = gpt_partition_type_from_uuid(type_id); label = blkid_partition_get_name(pp); /* libblkid returns NULL here if empty */ + if (streq_ptr(label, "_empty")) + continue; log_debug("Dissecting %s partition with label %s and UUID %s", strna(partition_designator_to_string(type.designator)), strna(label), SD_ID128_TO_UUID_STRING(id));