Skip to content
Permalink
Browse files

indentation fix

added same indentation of the echo as all the rest in the for loop
  • Loading branch information...
Sephtex committed Feb 3, 2019
1 parent f6dbe9b commit c35eee0255486314f1b7987b7fcdebf15457532c
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/zfs/zfs_list
@@ -79,7 +79,7 @@ for i in `zfs list -Hp | awk '{print $1}'`; do
values=( $(zfs get -p usedbydataset,usedbychildren,usedbysnapshots,usedbyrefreservation,available,quota $i | awk 'BEGIN {total=0;} { if( NR==1 ) next; } !/quota/ {total=total+$3;} {print $3} END{print total;}') )
fsname=$(clean_fieldname $(echo "$i" | sed 's/\//__/g'))

echo <<EOF "multigraph zfs_list_$fsname
echo <<EOF "multigraph zfs_list_$fsname
usedbydataset.value ${values[0]}
usedbysnapshots.value ${values[2]}
usedbychildren.value ${values[1]}

0 comments on commit c35eee0

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.