Skip to content

Commit

Permalink
Fix shellcheck SC2004
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolKozlowski committed Aug 29, 2024
1 parent 6a7f7e4 commit 8dc97b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfs-inplace-rebalancing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function rebalance () {
fi

current_index="$((current_index + 1))"
progress_percent=$(printf '%0.2f' "$(($current_index*10000/$file_count))e-2")
progress_percent=$(printf '%0.2f' "$((current_index*10000/file_count))e-2")
color_echo "${Cyan}" "Progress -- Files: ${current_index}/${file_count} (${progress_percent}%)"

if [[ ! -f "${file_path}" ]]; then
Expand Down

0 comments on commit 8dc97b5

Please sign in to comment.