Skip to content

Commit

Permalink
fix shellcheck and codespell findings
Browse files Browse the repository at this point in the history
  • Loading branch information
swapdisk committed Dec 4, 2024
1 parent 6c86e0e commit 51db147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelogs/fragments/bigboot_progress_meter.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
minor_changes:
- Improved console logging of bigboot progress to incude percent complete
- Improved console logging of bigboot progress to include percent complete
2 changes: 1 addition & 1 deletion roles/bigboot/files/bigboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fi
for fd in /proc/"$pid"/fd/*; do
if [[ "$(readlink "$fd")" == "$boot_disk_device" ]]; then
offset="$(awk '/pos:/ {print $2}' /proc/"$pid"/fdinfo/"${fd##*/}")"
pct="$((-100*$offset/$next_part_size+100))"
pct="$((-100*offset/next_part_size+100))"
break
fi
done
Expand Down

0 comments on commit 51db147

Please sign in to comment.