This commit is contained in:
Lunny Xiao 2018-05-08 17:37:52 +08:00
parent 9a9a0bc1b8
commit 22edc16336
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -53,7 +53,7 @@ func runRestore(ctx *cli.Context) error {
if _, err := os.Stat(tmpDir); os.IsNotExist(err) {
log.Fatalf("Path does not exist: %s", tmpDir)
}
tmpWorkDir, err := ioutil.TempDir(tmpDir, "gitea-dump-")
tmpWorkDir, err := ioutil.TempDir(tmpDir, "gitea-restore-")
if err != nil {
log.Fatalf("Failed to create tmp work directory: %v", err)
}