chore: adhere to shellcheck rules
This commit is contained in:
parent
6c1a7e846b
commit
2397569412
|
@ -246,8 +246,8 @@ function disk_create_partition() {
|
||||||
|| die "Could not resolve new device with id=$new_id"
|
|| die "Could not resolve new device with id=$new_id"
|
||||||
for i in {1..10}; do
|
for i in {1..10}; do
|
||||||
[[ -e "$new_device" ]] && break
|
[[ -e "$new_device" ]] && break
|
||||||
[[ "$i" -eq 1 ]] && printf "Waiting for partition ($new_device) to appear..."
|
[[ "$i" -eq 1 ]] && printf "Waiting for partition (%s) to appear..." "$new_device"
|
||||||
printf " $((10 - i + 1))"
|
printf " %s" "$((10 - i + 1))"
|
||||||
sleep 1
|
sleep 1
|
||||||
[[ "$i" -eq 10 ]] && echo
|
[[ "$i" -eq 10 ]] && echo
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue