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:
parent
47cad04a32
commit
625ce2bb7c
@ -3168,6 +3168,7 @@ IS_APPLE_SILICON=0
|
|||||||
|
|
||||||
# handle Apple M1 bugs with optimized kernels
|
# handle Apple M1 bugs with optimized kernels
|
||||||
|
|
||||||
|
if [ $(uname) == "Darwin" ]; then
|
||||||
if [ ${OPTIMIZED} -eq 1 ]; then
|
if [ ${OPTIMIZED} -eq 1 ]; then
|
||||||
BIN_sysctl=$(which sysctl)
|
BIN_sysctl=$(which sysctl)
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
@ -3181,6 +3182,7 @@ if [ ${OPTIMIZED} -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
export IS_OPTIMIZED=${OPTIMIZED}
|
export IS_OPTIMIZED=${OPTIMIZED}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user