diff --git a/plugins/zfs/zpool_iostat b/plugins/zfs/zpool_iostat index 63400422..0e655f58 100755 --- a/plugins/zfs/zpool_iostat +++ b/plugins/zfs/zpool_iostat @@ -71,8 +71,7 @@ get_device_iostat_column() { local stat_column="$2" # convert all numeric values into kB echo "$iostats" \ - | gawk '{ if ($1 == "'"$device_label"'") - print $'"$stat_column"'; }' \ + | gawk '{ if ($1 == "'"$device_label"'") print $'"$stat_column"'; }' \ | gawk '/M/ {print strtonum($1)*1000}; /K/ {print strtonum($1)}; /[0-9]$/ {print int($1)/1000}'