1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Fix test.sh fix for M1

This commit is contained in:
Jens Steube 2021-12-27 15:03:33 +01:00
parent 47cad04a32
commit 625ce2bb7c

View File

@ -3168,6 +3168,7 @@ IS_APPLE_SILICON=0
# handle Apple M1 bugs with optimized kernels
if [ $(uname) == "Darwin" ]; then
if [ ${OPTIMIZED} -eq 1 ]; then
BIN_sysctl=$(which sysctl)
if [ $? -eq 0 ]; then
@ -3181,6 +3182,7 @@ if [ ${OPTIMIZED} -eq 1 ]; then
fi
fi
fi
fi
export IS_OPTIMIZED=${OPTIMIZED}