From eb0dda0ab8b981bac17e0add14f8201d61758361 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 26 Oct 2014 07:17:04 -0700 Subject: [PATCH] It's possible to externally lock dpkg under _root! --- MobileCydia.mm | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.50.0