diff options
author | Shea Levy <shea@shealevy.com> | 2012-06-27 09:43:54 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2012-06-27 09:43:54 -0400 |
commit | bb5d2d53fea606a05a417c1c95b8feb4a073a57b (patch) | |
tree | 7bc70fbdd51441b1c7ffc329ff20089c0367760b /modules/system/boot/luksroot.nix | |
parent | 061a9988405e280757c4eea3730647ada90edb36 (diff) | |
download | nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.tar nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.tar.gz nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.tar.bz2 nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.tar.lz nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.tar.xz nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.tar.zst nixpkgs-bb5d2d53fea606a05a417c1c95b8feb4a073a57b.zip |
try isn't used, so use the more compatct seq 10
Diffstat (limited to 'modules/system/boot/luksroot.nix')
-rw-r--r-- | modules/system/boot/luksroot.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/boot/luksroot.nix b/modules/system/boot/luksroot.nix index edbf11214da..0e28a882da5 100644 --- a/modules/system/boot/luksroot.nix +++ b/modules/system/boot/luksroot.nix @@ -11,7 +11,7 @@ let # available as a function. if ! test -e ${device}; then echo -n "waiting 10 seconds for device ${device} to appear..." - for try in $(seq 0 9); do + for try in $(seq 10); do sleep 1 if test -e ${device}; then break; fi echo -n . |