From 4a5227c7bff4986947c6f5bb1add5ccb02990376 Mon Sep 17 00:00:00 2001 From: Rikka Date: Sun, 31 Dec 2017 22:10:28 +0800 Subject: [PATCH] Fix bug in SuDatabaseHelper --- .../java/com/topjohnwu/magisk/database/SuDatabaseHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/topjohnwu/magisk/database/SuDatabaseHelper.java b/src/main/java/com/topjohnwu/magisk/database/SuDatabaseHelper.java index e71abcc20..fadbd56b2 100644 --- a/src/main/java/com/topjohnwu/magisk/database/SuDatabaseHelper.java +++ b/src/main/java/com/topjohnwu/magisk/database/SuDatabaseHelper.java @@ -131,8 +131,8 @@ public class SuDatabaseHelper extends SQLiteOpenHelper { } catch(Exception e) { // Try to catch runtime exceptions and remove all db for retry unmntDB(); - Shell.su(Utils.fmt("rm -rf /data/user*/*/magisk.db /data/adb/magisk.db /data/user*/*/%s/databases"), - MagiskManager.get().getPackageName()); + Shell.su(Utils.fmt("rm -rf /data/user*/*/magisk.db /data/adb/magisk.db /data/user*/*/%s/databases", + MagiskManager.get().getPackageName())); e.printStackTrace(); return new SuDatabaseHelper(initDB(false)); }