about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-05-02 18:25:56 +0200
committervanhauser-thc <vh@thc.org>2023-05-02 18:25:56 +0200
commita7b7f3cde9b3a420ea5ac32f7309e8a856a01e94 (patch)
treece4697341009aedb96fdf2b890e887e3ab2e08f9
parent22db79aefafb48fed48199a86a39babdee795870 (diff)
downloadafl++-a7b7f3cde9b3a420ea5ac32f7309e8a856a01e94.tar.gz
fix afl-system-config for macos
-rwxr-xr-xafl-system-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/afl-system-config b/afl-system-config
index bf6397fa..b50bb06e 100755
--- a/afl-system-config
+++ b/afl-system-config
@@ -110,7 +110,7 @@ if [ "$PLATFORM" = "Darwin" ] ; then
   sysctl kern.sysv.shmall=131072000
   echo Settings applied.
   echo
-  if [ $(launchctl list 2>/dev/null | grep -q '\.ReportCrash$') ] ; then
+  if $(launchctl list 2>/dev/null | grep -q '\.ReportCrash$') ; then
     echo
     echo Unloading the default crash reporter
     SL=/System/Library; PL=com.apple.ReportCrash
@@ -119,6 +119,7 @@ if [ "$PLATFORM" = "Darwin" ] ; then
     echo
   fi
   echo It is recommended to disable System Integrity Protection for increased performance.
+  echo See: https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection
   echo
   DONE=1
 fi