mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-17 09:57:49 +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}"
|
[[ ${#total} < 2 ]] && local pads=2 || local pads="${#total}"
|
||||||
local num=1
|
local num=1
|
||||||
for update in "${Updates[@]}"; do
|
for update in "${Updates[@]}"; do
|
||||||
printf "%0*d - %s\n" $pads $num $update
|
printf "%0*d - %s\n" "$pads" "$num" "$update"
|
||||||
((num++))
|
((num++))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user