Fix bug in maximize_fuzz_corpus.sh that caused script to exit prematurely when no new corpus inputs were found
@@ -28,7 +28,7 @@ export FUZZ_TESTS="$ALL_FUZZ_TEST_FILES"
DONE=0
while [ $DONE -ne 1 ]; do
make fuzz;
- NEW_CORPUS_FILES=`git ls-files --others --exclude-standard | grep "tests/fuzz/corpus"`
+ NEW_CORPUS_FILES=`git ls-files --others --exclude-standard | (grep "tests/fuzz/corpus" || echo "")`
if [[ -n "$NEW_CORPUS_FILES" ]]; then
file_count=0
