diff options
| author | vanhauser-thc <vh@thc.org> | 2023-11-03 11:19:14 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2023-11-03 11:19:14 +0100 |
| commit | 2230f88887e3e8d1793fdb98f9cd12d3449ba791 (patch) | |
| tree | 618e21a561f19762a45c9a551996600406559644 /afl-persistent-config | |
| parent | 7eafe22d6b31120055c5bf2ef0d3074538513c6c (diff) | |
| download | afl++-2230f88887e3e8d1793fdb98f9cd12d3449ba791.tar.gz | |
add --help/--version/...
Diffstat (limited to 'afl-persistent-config')
| -rwxr-xr-x | afl-persistent-config | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/afl-persistent-config b/afl-persistent-config index 3abcb866..d78db286 100755 --- a/afl-persistent-config +++ b/afl-persistent-config @@ -2,7 +2,7 @@ # written by jhertz # -test "$1" = "-h" -o "$1" = "-hh" && { +test "$1" = "-h" -o "$1" = "-hh" -o "$1" = "--help" && { echo 'afl-persistent-config' echo echo $0 @@ -17,6 +17,11 @@ test "$1" = "-h" -o "$1" = "-hh" && { exit 0 } +if [ $# -ne 0 ]; then + echo "ERROR: Unknown option(s): $@" + exit 1 +fi + echo echo "WARNING: This scripts makes permanent configuration changes to the system to" echo " increase the performance for fuzzing. As a result, the system also" |
