Skip to content

Commit

Permalink
cfl: fix non-zero exit code when corpus dir doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Feb 1, 2024
1 parent 29d5d0c commit 6df6334
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,7 @@ do
if [ -e "$dict_path" ]; then
cp "$dict_path" $OUT/"$module.dict"
fi
[[ -e $corpus_dir ]] && find "$corpus_dir" -mindepth 1 -maxdepth 1 | zip -@ -j $OUT/"$name"_seed_corpus.zip
if [ -e "$corpus_dir" ]; then
find "$corpus_dir" -mindepth 1 -maxdepth 1 | zip -@ -j $OUT/"$name"_seed_corpus.zip
fi
done

0 comments on commit 6df6334

Please sign in to comment.