aboutsummaryrefslogtreecommitdiff
path: root/afl-whatsup
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-08-23 17:47:12 +0200
committervanhauser-thc <vh@thc.org>2023-08-23 17:47:12 +0200
commitd95cef82730c8ea7debbac676aeeee232c08fc5a (patch)
treeaa660af9156bea8f03dadb8d97c8935cac25ec33 /afl-whatsup
parent19d0c6a4c5015368ff610418994b2dc8f3f66117 (diff)
downloadAFLplusplus-d95cef82730c8ea7debbac676aeeee232c08fc5a.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 ebd1ce61..093cda81 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 "$B" ]; then
+ if [ -n "$TOTAL_COVERAGE" -a -n "$COVERAGE" ]; then
if [ "$(echo "$TOTAL_COVERAGE < $COVERAGE" | bc)" -eq 1 ]; then
TOTAL_COVERAGE=$COVERAGE
fi