diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 9b9c3af252..6c73a12548 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -1149,10 +1149,7 @@ static int dissect_image( /* If flags permit this, also allow using non-partitioned single-filesystem images */ - if (root_fstype_string) - usage = encrypted ? "crypto" : "filesystem"; - else - (void) sym_blkid_probe_lookup_value(b, "USAGE", &usage, NULL); + (void) sym_blkid_probe_lookup_value(b, "USAGE", &usage, NULL); if (STRPTR_IN_SET(usage, "filesystem", "crypto")) { _cleanup_free_ char *t = NULL; const char *fstype = NULL;