mirror of
https://github.com/go-gitea/gitea
synced 2024-11-28 12:42:58 +01:00
remove unused fixme on dump command (#1065)
This commit is contained in:
parent
95574a3640
commit
35548a9d4e
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func runDump(ctx *cli.Context) error {
|
||||||
if err := z.AddDir("log", setting.LogRootPath); err != nil {
|
if err := z.AddDir("log", setting.LogRootPath); err != nil {
|
||||||
log.Fatalf("Failed to include log: %v", err)
|
log.Fatalf("Failed to include log: %v", err)
|
||||||
}
|
}
|
||||||
// FIXME: SSH key file.
|
|
||||||
if err = z.Close(); err != nil {
|
if err = z.Close(); err != nil {
|
||||||
_ = os.Remove(fileName)
|
_ = os.Remove(fileName)
|
||||||
log.Fatalf("Failed to save %s: %v", fileName, err)
|
log.Fatalf("Failed to save %s: %v", fileName, err)
|
||||||
|
|
Loading…
Reference in a new issue