cmd/syncthing, lib/db: Abort execution if db version is too high (fixes #4994) (#5022)

This commit is contained in:
Simon Frei authored and Jakob Borg committed 2018-06-26 11:40:34 +02:00
1 parent ef5ca0c218
commit 881e923105
4 files changed
+83 -14

No files matched your search

+1 -1
View File
@@ -702,7 +702,7 @@ func syncthingMain(runtimeOptions RuntimeOptions) {
dbFile := locations[locDatabase]
ldb, err := db.Open(dbFile)
if err != nil {
l.Fatalln("Cannot open database:", err, "- Is another copy of Syncthing already running?")
l.Fatalln("Error opening database:", err)
}
if runtimeOptions.resetDeltaIdxs {