diff --git a/main/postmarketos-initramfs/init_functions.sh b/main/postmarketos-initramfs/init_functions.sh index 9c70f900d..ed906d2cf 100644 --- a/main/postmarketos-initramfs/init_functions.sh +++ b/main/postmarketos-initramfs/init_functions.sh @@ -429,6 +429,7 @@ resize_root_partition() { } unlock_root_partition() { + command -v cryptsetup >/dev/null || return partition="$(find_root_partition)" if cryptsetup isLuks "$partition"; then # Make sure the splash doesn't interfere