diff options
Diffstat (limited to 'internal/cmd/restore.go')
-rw-r--r-- | internal/cmd/restore.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/cmd/restore.go b/internal/cmd/restore.go index 63d753a6..e8c82f60 100644 --- a/internal/cmd/restore.go +++ b/internal/cmd/restore.go @@ -99,7 +99,9 @@ func runRestore(c *cli.Context) error { return errors.Wrap(err, "init configuration") } - db.SetEngine() + if err = db.SetEngine(); err != nil { + return errors.Wrap(err, "set engine") + } // Database dbDir := path.Join(archivePath, "db") |