mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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"
|
||||
fi
|
||||
|
||||
${optionalString (keyFile != "") ''
|
||||
${optionalString (keyFile != null) ''
|
||||
if ! test -e ${keyFile}; then
|
||||
echo -n "waiting 10 seconds for key file ${keyFile} to appear..."
|
||||
for try in $(seq 10); do
|
||||
|
Loading…
Reference in New Issue
Block a user