mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
triage_crashes.sh: Fix error reporting
This commit is contained in:
parent
70403f7e1b
commit
b289e7ad07
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user