mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
fix two bugs in error message
$1 and $2 have been modified here by two previous shift commands.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user