From bb5d2d53fea606a05a417c1c95b8feb4a073a57b Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 27 Jun 2012 09:43:54 -0400 Subject: [PATCH] try isn't used, so use the more compatct seq 10 --- modules/system/boot/luksroot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .