shellcheck

This commit is contained in:
Marc Beninca 2024-08-23 22:44:21 +02:00
parent f4ee63aab7
commit 55051830ac
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -867,8 +867,8 @@ spcd_error_os() {
spcd_fill() {
spcd_fill__index=${1}
while [ ${spcd_fill__index} -gt 0 ]; do
printf "${2}"
while [ "${spcd_fill__index}" -gt 0 ]; do
printf "%s" "${2}"
spcd_fill__index=$((spcd_fill__index - 1))
done
}