Jeffery To 7b1093823a Fix resume device type check
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>
2025-01-19 23:15:41 +01:00
..
2025-01-19 23:15:41 +01:00