From 22edc1633695b2c55eeadd6a67a738a284a54de5 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 8 May 2018 17:37:52 +0800 Subject: [PATCH] fix typo --- cmd/restore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restore.go b/cmd/restore.go index 00341c0c3..cdba8b8bb 100644 --- a/cmd/restore.go +++ b/cmd/restore.go @@ -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) }