From ac1a87730ec2c851487dfd867592031377ec3a32 Mon Sep 17 00:00:00 2001 From: amekusa Date: Mon, 26 Sep 2022 20:12:45 +0000 Subject: [PATCH] [macOS] Fix launcher code in case with 'sysctl.proc_translated' returning empty (#1598) --- soh/macosx/soh-macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/macosx/soh-macos.sh b/soh/macosx/soh-macos.sh index 72350db71..4d57f8782 100755 --- a/soh/macosx/soh-macos.sh +++ b/soh/macosx/soh-macos.sh @@ -67,7 +67,7 @@ done arch_name="$(uname -m)" launch_arch="arm64" -if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" = "0" ]; then +if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" != "1" ]; then launch_arch="x86_64" fi