hot-patch unquoted variable in updates list

This commit is contained in:
mag37 2025-10-06 10:18:38 +02:00
parent af0d0d3f6e
commit be58805824

View file

@ -348,7 +348,7 @@ list_options() {
[[ ${#total} < 2 ]] && local pads=2 || local pads="${#total}"
local num=1
for update in "${Updates[@]}"; do
printf "%0*d - %s\n" $pads $num $update
printf "%0*d - %s\n" "$pads" "$num" "$update"
((num++))
done
}