summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-10-26 17:19:59 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-10-26 17:19:59 -0700
commit4cc6631991a9a0fbcabe025ca18dab0ead890fff (patch)
tree23db7a247727b020115d8bedb175071481cf3429 /MobileCydia.mm
parentad502f71d5cd68490d27171c98c0377a2a4ab6fc (diff)
Entirely isolate setreuid logic to MobileCydia.mm.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 86a36ff..a2d65cc 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9059,7 +9059,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
}
}
- CydiaWriteSources();
+ _root(true) CydiaWriteSources();
}
// Navigation controller for the queuing badge.
@@ -10402,7 +10402,7 @@ int main(int argc, char *argv[]) {
} broken = nil;
/* }}} */
- CydiaWriteSources();
+ _root(true) CydiaWriteSources();
_trace();
_root(true) MetaFile_.Open("/var/lib/cydia/metadata.cb0");