summaryrefslogtreecommitdiffstats
path: root/cmd/restore_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/restore_repo.go')
-rw-r--r--cmd/restore_repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/restore_repo.go b/cmd/restore_repo.go
index 5a7ede4939..c19e28f13d 100644
--- a/cmd/restore_repo.go
+++ b/cmd/restore_repo.go
@@ -51,7 +51,7 @@ func runRestoreRepository(c *cli.Context) error {
ctx, cancel := installSignals()
defer cancel()
- setting.Init(&setting.Options{})
+ setting.MustInstalled()
var units []string
if s := c.String("units"); s != "" {
units = strings.Split(s, ",")