aboutsummaryrefslogtreecommitdiff
path: root/internal/cmd/restore.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd/restore.go')
-rw-r--r--internal/cmd/restore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/restore.go b/internal/cmd/restore.go
index fcb006cf..f1f2c99f 100644
--- a/internal/cmd/restore.go
+++ b/internal/cmd/restore.go
@@ -145,7 +145,7 @@ func runRestore(c *cli.Context) error {
// Repositories
reposPath := filepath.Join(archivePath, "repositories.zip")
if !c.Bool("exclude-repos") && !c.Bool("database-only") && com.IsExist(reposPath) {
- if err := zip.ExtractTo(reposPath, filepath.Dir(conf.RepoRootPath)); err != nil {
+ if err := zip.ExtractTo(reposPath, filepath.Dir(conf.Repository.Root)); err != nil {
log.Fatal("Failed to extract 'repositories.zip': %v", err)
}
}