Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 31, 2024
1 parent 3999b11 commit 19cb4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/update_readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ count_excluded() {

raw_count="$(csvcut -c 4 rows.tmp | awk '{total += $1} END {print total}')"
# Return if raw count is 0 to avoid divide by zero error
[[ "$raw_count" -eq 0 ]] && { printf "0"; return; }
(( raw_count == 0 )) && { printf "0"; return; }
white_count="$(csvcut -c 6 rows.tmp | awk '{total += $1} END {print total}')"
dead_count="$(csvcut -c 7 rows.tmp | awk '{total += $1} END {print total}')"
redundant_count="$(csvcut -c 8 rows.tmp | awk '{total += $1} END {print total}')"
Expand Down

0 comments on commit 19cb4ee

Please sign in to comment.