From: Jay Freeman (saurik) Date: Sun, 26 Oct 2014 14:17:04 +0000 (-0700) Subject: It's possible to externally lock dpkg under _root! X-Git-Tag: v1.1.14~35 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/eb0dda0ab8b981bac17e0add14f8201d61758361 It's possible to externally lock dpkg under _root! --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 72bcebd3..72f95d19 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3815,6 +3815,8 @@ class CydiaLogCleaner : } _end + _root(true) _system->Lock(); + _trace(); OpProgress progress; bool opened; @@ -3850,6 +3852,7 @@ class CydiaLogCleaner : } } + _system->UnLock(); return; } _trace();