try isn't used, so use the more compatct seq 10
This commit is contained in:
parent
061a998840
commit
bb5d2d53fe
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue