chore: adhere to shellcheck rules

This commit is contained in:
oddlama 2022-10-05 15:49:37 +02:00
parent 6c1a7e846b
commit 2397569412
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 2 additions and 2 deletions

View File

@ -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