X-Git-Url: https://git.saurik.com/patcyh.git/blobdiff_plain/ec4c25d4140e861d6860310466d5baff59381aa1..37e83e3c556eb40b58a17a27a88720fc28a66a94:/postrm.mm?ds=inline diff --git a/postrm.mm b/postrm.mm index 57f18eb..09af916 100644 --- a/postrm.mm +++ b/postrm.mm @@ -1,5 +1,5 @@ /* patcyh - you should pronounce it like patch - * Copyright (C) 2015 Jay Freeman (saurik) + * Copyright (C) 2015-2016 Jay Freeman (saurik) */ /* GNU General Public License, Version 3 {{{ */ @@ -35,7 +35,8 @@ int main(int argc, const char *argv[]) { if (!PatchInstall(true, abort)) return 1; - system("launchctl stop com.apple.mobile.installd"); + if (!PatchLaunch(true, abort)) + return 1; [pool release]; return 0;