about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-08-28 14:04:31 +0200
committervanhauser-thc <vh@thc.org>2023-08-28 14:04:31 +0200
commit51f2cef682f9902263e261e2e78da6106da96a91 (patch)
treebce9c29d5dc15ca1844371388ba3a971d8ced8fc
parent2b53b4af5c4cdab4e5e12aaced79aa87dda31464 (diff)
downloadafl++-51f2cef682f9902263e261e2e78da6106da96a91.tar.gz
fix
-rwxr-xr-xafl-whatsup4
1 files changed, 3 insertions, 1 deletions
diff --git a/afl-whatsup b/afl-whatsup
index b83be5b3..fad4c3d3 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -344,7 +344,9 @@ for j in `find . -maxdepth 2 -iname fuzzer_setup | sort`; do
 
     if [ ! -e "$i" -a -e "$j" ]; then
 
-      ALIVE_CNT=$((ALIVE_CNT + 1))
+      if [ '!' "$PROCESS_DEAD" = "" ]; then
+        ALIVE_CNT=$((ALIVE_CNT + 1))
+      fi
       START_CNT=$((START_CNT + 1))
       last_find=0
       IS_STARTING=1