This commit is contained in:
Jae Kwon
2016-01-22 12:48:04 -08:00
parent d6aa43fcda
commit 254331485a

View File

@@ -35,7 +35,7 @@ func initTMRoot(rootDir string) {
}
}
// Move ~/.tendermint_test to ~/.tendermint_test_bak
if FileExists(rootDir + "_bak") {
if FileExists(rootDir) {
err := os.Rename(rootDir, rootDir+"_bak")
if err != nil {
PanicSanity(err.Error())