Compare commits

...

3 Commits

Author SHA1 Message Date
mag37
24cae63b61 bugfix - unquoted var in list
Versionbump.
2025-10-07 08:25:44 +02:00
mag37
05e5b23e7b bugfix - unquoted var in list
Versionbump.
2025-10-07 08:24:31 +02:00
mag37
be58805824 hot-patch unquoted variable in updates list 2025-10-06 10:18:38 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
___
## Changelog
- **v0.7.3**: Bugfix - unquoted variable in printf list caused occasional issues.
- **v0.7.2**:
- Label rework:
- Moved up label logic to work globally on the current run.

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERSION="v0.7.2"
# ChangeNotes: Reformatted updates list, rewrote label logic to work globally when used with `-l`.
VERSION="v0.7.3"
# ChangeNotes: Bugfix - unquoted variable in list. Also: Please consider donating.
Github="https://github.com/mag37/dockcheck"
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
@@ -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
}