aboutsummaryrefslogtreecommitdiff
path: root/afl-whatsup
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-08-23 18:06:44 +0200
committervanhauser-thc <vh@thc.org>2023-08-23 18:06:44 +0200
commit82c875ef8a8523d699bfc999769680fddc51380a (patch)
treea15d2111508e40a9830669bdd25e95c36984a655 /afl-whatsup
parent549e5dd9269238ac43ff482d439f7f671946185c (diff)
downloadAFLplusplus-82c875ef8a8523d699bfc999769680fddc51380a.tar.gz
fix
Diffstat (limited to 'afl-whatsup')
-rwxr-xr-xafl-whatsup2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-whatsup b/afl-whatsup
index 093cda81..d28c46fe 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -185,7 +185,7 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
RUN_DAYS=$((RUN_UNIX / 60 / 60 / 24))
RUN_HRS=$(((RUN_UNIX / 60 / 60) % 24))
COVERAGE=$(echo $bitmap_cvg|tr -d %)
- if [ -n "$TOTAL_COVERAGE" -a -n "$COVERAGE" ]; then
+ if [ -n "$TOTAL_COVERAGE" -a -n "$COVERAGE" -a -n "$BC" ]; then
if [ "$(echo "$TOTAL_COVERAGE < $COVERAGE" | bc)" -eq 1 ]; then
TOTAL_COVERAGE=$COVERAGE
fi