hooks/luks: double-quote variables
This commit is contained in:
parent
93a9cffaf1
commit
e2b3cc1e1a
@ -12,6 +12,6 @@ resolve_device "$luks_root"
|
||||
|
||||
DM_DISABLE_UDEV=1 cryptsetup open \
|
||||
${luks_discard:+--allow-discards} \
|
||||
${luks_header:+--header=$luks_header} \
|
||||
${luks_key:+--key-file=$luks_key} -- "$device" \
|
||||
${luks_header:+--header="$luks_header"} \
|
||||
${luks_key:+--key-file="$luks_key"} -- "$device" \
|
||||
"${luks_name:-crypt-${device##*/}}" || panic "failed to unlock LUKS"
|
||||
|
Loading…
Reference in New Issue
Block a user