diff options
author | hexcoder- <heiko@hexco.de> | 2021-04-06 20:43:26 +0000 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-04-06 20:43:26 +0000 |
commit | 7181112233f119b4dfda93b594b0f1bacdd3139a (patch) | |
tree | 3385ec26af9c9994c1f3cc0eadbba033ba62602c | |
parent | 19690b606d00b3c32958df07d1b87a3ce8cd8903 (diff) | |
download | afl++-7181112233f119b4dfda93b594b0f1bacdd3139a.tar.gz |
better understandable directory creation logic
-rwxr-xr-x | afl-system-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-system-config b/afl-system-config index 2b945d7a..5ad9d937 100755 --- a/afl-system-config +++ b/afl-system-config @@ -99,7 +99,7 @@ if [ "$PLATFORM" = "Darwin" ] ; then fi if [ "$PLATFORM" = "Haiku" ] ; then DEBUG_SERVER_DIR=~/config/settings/system/debug_server - [ ! -r ${DEBUG_SERVER_DIR} ] && mkdir ${DEBUG_SERVER_DIR} + [ ! -d ${DEBUG_SERVER_DIR} ] && mkdir -p ${DEBUG_SERVER_DIR} SETTINGS=${DEBUG_SERVER_DIR}/settings [ -r ${SETTINGS} ] && grep -qE "default_action\s+kill" ${SETTINGS} && { echo "Nothing to do"; } || { \ echo We change the debug_server default_action from user to silently kill; \ |