From 024cdbbf598b87c39598cbe17e9a0c04a0e09974 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 23 Dec 2013 12:13:56 -0800 Subject: Fix Restart SpringBoard on iOS 3 (maybe others?). --- MobileCydia.mm | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3