diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-26 16:01:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-26 16:01:49 +0800 |
commit | 35548a9d4e85171463c29a77b92c317263e5d687 (patch) | |
tree | 1e49f953b1b8018feecf14c9ba52e49f991d4cc8 /cmd | |
parent | 95574a36400e7714d78e7016c8a14dc0b60311b1 (diff) | |
download | gitea-35548a9d4e85171463c29a77b92c317263e5d687.tar.gz gitea-35548a9d4e85171463c29a77b92c317263e5d687.zip |
remove unused fixme on dump command (#1065)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dump.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dump.go b/cmd/dump.go index ef1fdf2054..81cd772f5d 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -130,7 +130,7 @@ func runDump(ctx *cli.Context) error { if err := z.AddDir("log", setting.LogRootPath); err != nil { log.Fatalf("Failed to include log: %v", err) } - // FIXME: SSH key file. + if err = z.Close(); err != nil { _ = os.Remove(fileName) log.Fatalf("Failed to save %s: %v", fileName, err) |