From: Jay Freeman (saurik) Date: Mon, 23 Dec 2013 20:13:56 +0000 (-0800) Subject: Fix Restart SpringBoard on iOS 3 (maybe others?). X-Git-Tag: v1.1.9~14 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/024cdbbf598b87c39598cbe17e9a0c04a0e09974 Fix Restart SpringBoard on iOS 3 (maybe others?). --- diff --git a/MobileCydia.mm b/MobileCydia.mm index ed0f35a8..754deefa 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);