Unverified Commit 722e5d9c authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Shellcheck (#486)

parent 6ea89453
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ do
      if [ -z "$total" ]; then
        size=$(numfmt --to=iec --suffix=B  "$bytes" | sed -r 's/([A-Z])/ \1/')
      else
        size=$(printf '%.1f\n' "$(($bytes*100*100/$total))e-2")
        size=$(printf '%.1f\n' "$((bytes*100*100/total))e-2")
        size="$size%"
      fi
      echo "${body//(\[P\])/($size)}"> "$info"