LUKS root: Fix key file check
Check for null instead of empty string
This commit is contained in:
parent
0958b224ac
commit
a6039e1be2
@ -19,7 +19,7 @@ let
|
|||||||
echo "ok"
|
echo "ok"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${optionalString (keyFile != "") ''
|
${optionalString (keyFile != null) ''
|
||||||
if ! test -e ${keyFile}; then
|
if ! test -e ${keyFile}; then
|
||||||
echo -n "waiting 10 seconds for key file ${keyFile} to appear..."
|
echo -n "waiting 10 seconds for key file ${keyFile} to appear..."
|
||||||
for try in $(seq 10); do
|
for try in $(seq 10); do
|
||||||
|
Loading…
Reference in New Issue
Block a user