about summary refs log tree commit diff
diff options
context:
space:
mode:
-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