about summary refs log tree commit diff
path: root/afl-cmin.bash
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-06-05 14:12:56 +0300
committerGitHub <noreply@github.com>2023-06-05 14:12:56 +0300
commitf9b72b6f2f9a6545143ad2efa40ea0b527a5bf5c (patch)
tree82620ccfd9079b2e4fd0f7a6176b20508d4b68ca /afl-cmin.bash
parented73c632a5791ca740fe64770b6d238206033ec4 (diff)
parentb644e48f36485c645cbc0dadf0fddb2aa14cc079 (diff)
downloadafl++-f9b72b6f2f9a6545143ad2efa40ea0b527a5bf5c.tar.gz
Merge pull request #1755 from AFLplusplus/dev
push to stable
Diffstat (limited to 'afl-cmin.bash')
-rwxr-xr-xafl-cmin.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/afl-cmin.bash b/afl-cmin.bash
index d390ff65..dc6d5342 100755
--- a/afl-cmin.bash
+++ b/afl-cmin.bash
@@ -206,7 +206,7 @@ fi
 
 # Check for obvious errors.
 
-if [ ! "$T_ARG" = "" -a ! "$F_ARG" = "" -a ! "$NYX_MODE" == 1 ]; then
+if [ ! "$T_ARG" = "" -a -n "$F_ARG" -a ! "$NYX_MODE" == 1 ]; then
   echo "[-] Error: -T and -f can not be used together." 1>&2
   exit 1
 fi
@@ -323,7 +323,7 @@ if [ ! "$T_ARG" = "" ]; then
     fi
   fi
 else
-  if [ "$F_ARG" = ""]; then
+  if [ -z "$F_ARG" ]; then
     echo "[*] Are you aware of the '-T all' parallelize option that massively improves the speed?"
   fi
 fi