Skip to content

Commit

Permalink
jailbreak: fix JIT not working on some TrollStore installs
Browse files Browse the repository at this point in the history
Thanks @crstestacc for the patch.

Fixes #5216
  • Loading branch information
osy committed Dec 10, 2023
1 parent 4250513 commit c33e6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/UTMJailbreak.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c33e6f6

Please sign in to comment.