fix two bugs in error message
$1 and $2 have been modified here by two previous shift commands.
@@ -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/queue' not found or not created by afl-fuzz." 1>&2
exit 1
fi
