diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2013-12-23 12:13:56 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2013-12-23 12:13:56 -0800 |
commit | 024cdbbf598b87c39598cbe17e9a0c04a0e09974 (patch) | |
tree | 1a41d417a0b19278c913ae96036c9a9b7b2fbcb5 | |
parent | 90bf9a3d170ab2dc4701c76f7b3911308211f542 (diff) |
Fix Restart SpringBoard on iOS 3 (maybe others?).
-rw-r--r-- | MobileCydia.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index ed0f35a..754deef 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5296,6 +5296,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { pid_t pid(ExecFork()); if (pid == 0) { + if (setsid() == -1) + perror("setsid"); + pid_t pid(ExecFork()); if (pid == 0) { execl("/usr/bin/sbreload", "sbreload", NULL); |