about summary refs log tree commit diff
path: root/afl-cmin.bash
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-05 19:32:27 +0100
committervanhauser-thc <vh@thc.org>2021-03-05 19:32:27 +0100
commit9844e1a856d38780a8bff6e15411956e3f183d57 (patch)
treecb903236c6d81923b77b5d576b87ad7767928e9b /afl-cmin.bash
parent44be521ab8ef5d62847ae48ebdb060d84aae5e47 (diff)
downloadafl++-9844e1a856d38780a8bff6e15411956e3f183d57.tar.gz
fix
Diffstat (limited to 'afl-cmin.bash')
-rwxr-xr-xafl-cmin.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/afl-cmin.bash b/afl-cmin.bash
index dae21939..5b2c3894 100755
--- a/afl-cmin.bash
+++ b/afl-cmin.bash
@@ -223,6 +223,7 @@ if [ ! -d "$IN_DIR" ]; then
   exit 1
 fi
 
+test -d "$IN_DIR/default" && IN_DIR="$IN_DIR/default"
 test -d "$IN_DIR/queue" && IN_DIR="$IN_DIR/queue"
 
 find "$OUT_DIR" -name 'id[:_]*' -maxdepth 1 -exec rm -- {} \; 2>/dev/null