fix typo
This commit is contained in:
parent
9a9a0bc1b8
commit
22edc16336
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user