fix two bugs in error message

$1 and $2 have been modified here by two previous shift commands.
This commit is contained in:
hexcoder
2021-03-16 22:58:10 +01:00
committed by GitHub
parent 7c2436c711
commit 6840e8fd2a

View File

@ -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