Successrate.sh comparison thread

I noticed that successrate.sh is reporting that I have zero failed deletes even though I’ve seen failed deletes in my log. I don’t know much about linux scripts but line 208 looks suspicious to me. I’ve pasted it below. I’m guessing the “| grep PUT_REPAIR” should not be there?

#count of failed deletes
delete_failed=$($LOG 2>&1 | grep PUT_REPAIR | grep ‘delete failed’ -c)