lib/db: Handle missed error variable in old schema upgrade (#6528)

This commit is contained in:
Simon Frei 2020-04-13 22:58:04 +02:00 committed by GitHub
parent ab92f8520c
commit 0ba3abdee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,6 +423,9 @@ func (db *schemaUpdater) updateSchema6to7(_ int) error {
}
return delErr == nil
})
if delErr != nil {
return delErr
}
if err != nil {
return err
}