diff options
-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); |