From c33e6f69bc07c8ee66d1101d9faa318ec95556c9 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:15:11 -0600 Subject: [PATCH] jailbreak: fix JIT not working on some TrollStore installs Thanks @crstestacc for the patch. Fixes #5216 --- Services/UTMJailbreak.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/UTMJailbreak.m b/Services/UTMJailbreak.m index cec1d60ea..9c21e251d 100644 --- a/Services/UTMJailbreak.m +++ b/Services/UTMJailbreak.m @@ -397,7 +397,7 @@ bool jb_spawn_ptrace_child(int argc, char **argv) { return false; } childArgv[0] = argv[0]; - if ((ret = posix_spawnp(&pid, argv[0], NULL, NULL, (void *)childArgv, (void *)environ)) != 0) { + if ((ret = posix_spawnp(&pid, argv[0], NULL, NULL, (void *)childArgv, NULL)) != 0) { return false; } return true;