mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
lib/syncthing: Handle successfull global migration (fixes #8851)
This commit is contained in:
parent
e8dafb979c
commit
4a8c691aef
@ -33,7 +33,9 @@ func globalMigration(ll *db.Lowlevel, cfg config.Wrapper) error {
|
||||
}
|
||||
|
||||
if prevVersion < 1 {
|
||||
return encryptionTrailerSizeMigration(ll, cfg)
|
||||
if err := encryptionTrailerSizeMigration(ll, cfg); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return miscDB.PutInt64(globalMigrationDBKey, globalMigrationVersion)
|
||||
|
Loading…
Reference in New Issue
Block a user