diff --git a/zfs-inplace-rebalancing.sh b/zfs-inplace-rebalancing.sh index ee9af28..aa3ee8d 100755 --- a/zfs-inplace-rebalancing.sh +++ b/zfs-inplace-rebalancing.sh @@ -323,7 +323,7 @@ if [ "$debug_flag" = true ]; then fi # Count number of inode groups -file_count=$(grep -cvP '^\t' grouped_inodes.txt) +file_count=$(grep -c '^\w' grouped_inodes.txt) color_echo "$Cyan" " Number of files to process: ${file_count}"