From 55051830acfbcb55f48c1f9cecb22aaad9000dfc Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 23 Aug 2024 22:44:21 +0200 Subject: [PATCH] shellcheck --- spcd/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 41e267f..362d414 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -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 }