mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-19 09:48:13 +01:00
hot-patch unquoted variable in updates list
This commit is contained in:
parent
af0d0d3f6e
commit
be58805824
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue