mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-23 10:25:54 +00:00
parent
1634019cc1
commit
07162121e4
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ public class FirstStartActivity extends Activity {
|
|||
FileUtils.deleteQuietly(dbDir);
|
||||
} catch (Throwable e) {
|
||||
Log.w(TAG, "Deleting database with FileUtils failed", e);
|
||||
Util.runShellCommand("rm -r" + dbDir.getAbsolutePath(), false);
|
||||
Util.runShellCommand("rm -r " + dbDir.getAbsolutePath(), false);
|
||||
if (dbDir.exists()) {
|
||||
throw new RuntimeException("Failed to delete existing database");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue