mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-15 00:48:25 +00:00
hot-patch unquoted variable in updates list
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user