luksroot: Add missing quote (#44639)
This commit is contained in:
parent
eb0207f132
commit
aea2d822dd
|
@ -47,8 +47,8 @@ let
|
||||||
${optionalString (keyFile != null) ''
|
${optionalString (keyFile != null) ''
|
||||||
${optionalString fallbackToPassword "if [ -e ${keyFile} ]; then"}
|
${optionalString fallbackToPassword "if [ -e ${keyFile} ]; then"}
|
||||||
echo " --key-file=${keyFile} ${optionalString (keyFileSize != null) "--keyfile-size=${toString keyFileSize}"}" \
|
echo " --key-file=${keyFile} ${optionalString (keyFileSize != null) "--keyfile-size=${toString keyFileSize}"}" \
|
||||||
${optionalString (keyFileOffset != null) "--keyfile-offset=${toString keyFileOffset}"}" \
|
"${optionalString (keyFileOffset != null) "--keyfile-offset=${toString keyFileOffset}"}" \
|
||||||
>> /.luksopen_args
|
>> /.luksopen_args
|
||||||
${optionalString fallbackToPassword ''
|
${optionalString fallbackToPassword ''
|
||||||
else
|
else
|
||||||
echo "keyfile ${keyFile} not found -- fallback to interactive unlocking"
|
echo "keyfile ${keyFile} not found -- fallback to interactive unlocking"
|
||||||
|
|
Loading…
Reference in a new issue