diff --git a/repo/fsrepo/fsrepo.go b/repo/fsrepo/fsrepo.go index 097b684c8..98dc1bc59 100644 --- a/repo/fsrepo/fsrepo.go +++ b/repo/fsrepo/fsrepo.go @@ -622,8 +622,10 @@ func isInitializedUnsynced(repoPath string) bool { if !configIsInitialized(repoPath) { return false } + if !util.FileExists(filepath.Join(repoPath, leveldbDirectory)) { return false } + return true }