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)); }