Skip to content

Commit

Permalink
FIX: Add double quotes per linter
Browse files Browse the repository at this point in the history
  • Loading branch information
reefland committed Jan 2, 2025
1 parent 1d21e91 commit 93db936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 30-zpool-detailed
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ while read -r line; do
echo -n " "
bar "$ds_used_pct" "$snap_used_pct" "$other_used_pct"
echo -n " "
#printf "Used %6s of %6s (%6s free)\n" "$(format_bytes $used)" "$(format_bytes $capacity)" "$(format_bytes $avail)"
printf "%3s%% used of %6s (%6s free)\n" "$used_pct" "$(format_bytes $capacity)" "$(format_bytes $avail)"
#printf "Used %6s of %6s (%6s free)\n" "$(format_bytes "$used")" "$(format_bytes "$capacity")" "$(format_bytes "$avail")"
printf "%3s%% used of %6s (%6s free)\n" "$used_pct" "$(format_bytes "$capacity")" "$(format_bytes "$avail")"
done < <(zfs list -Hp -t filesystem,volume -o space -d"${zfs_list_DS_depth}")

# Print Character Legend
Expand Down

0 comments on commit 93db936

Please sign in to comment.