about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrealmadsci <71108352+realmadsci@users.noreply.github.com>2021-03-15 14:09:03 -0400
committerrealmadsci <71108352+realmadsci@users.noreply.github.com>2021-03-15 12:25:01 -0700
commitb289e7ad073d4affae76de3da5d1faeba0f8a07e (patch)
treebcaa07f0e223eb630e664a4775bfe258666c1f4a
parent70403f7e1b586bf23eebb131d5db2397d708abf0 (diff)
downloadafl++-b289e7ad073d4affae76de3da5d1faeba0f8a07e.tar.gz
triage_crashes.sh: Fix error reporting
-rwxr-xr-xutils/crash_triage/triage_crashes.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/crash_triage/triage_crashes.sh b/utils/crash_triage/triage_crashes.sh
index 42cf8158..c9ca1f79 100755
--- a/utils/crash_triage/triage_crashes.sh
+++ b/utils/crash_triage/triage_crashes.sh
@@ -60,12 +60,12 @@ if
 fi
 
 if [ ! -f "$BIN" -o ! -x "$BIN" ]; then
-  echo "[-] Error: binary '$2' not found or is not executable." 1>&2
+  echo "[-] Error: binary '$BIN' not found or is not executable." 1>&2
   exit 1
 fi
 
 if [ ! -d "$DIR/queue" ]; then
-  echo "[-] Error: directory '$1' not found or not created by afl-fuzz." 1>&2
+  echo "[-] Error: directory '$DIR' not found or not created by afl-fuzz." 1>&2
   exit 1
 fi