mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 07:37:54 +00:00
blkid will exit with success if it can gather information about the device, even if the device does not match the specified type. This fixes the device type check by getting the type value and testing it directly. Signed-off-by: Jeffery To <jeffery.to@gmail.com> [bwh: Keep checking that resolve_device and blkid are successful] Signed-off-by: Ben Hutchings <benh@debian.org>