feat(backend): check for the full database path to verify its existence (#681)

pull/682/head
Anthony Lapenna 8 years ago committed by GitHub
parent 3861e964f4
commit b24825d453

@ -49,7 +49,7 @@ func NewStore(storePath string) (*Store, error) {
store.ResourceControlService.store = store
store.VersionService.store = store
_, err := os.Stat(storePath)
_, err := os.Stat(storePath + "/" + databaseFileName)
if err != nil && os.IsNotExist(err) {
store.checkForDataMigration = false
} else if err != nil {

Loading…
Cancel
Save