summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-10 21:40:51 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-10 21:40:51 -0400
commitb2632dec099cb2727933149d2d59cc5e46baa15f (patch)
tree0339b98dcd6a38bf9a02e3681d4e22a024ceaa9f /cmd
parent54930c001df8316d8dfda450b5c39379df2cc1b1 (diff)
downloadgitea-b2632dec099cb2727933149d2d59cc5e46baa15f.tar.gz
gitea-b2632dec099cb2727933149d2d59cc5e46baa15f.zip
Page: Compare 2 commits
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dump.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dump.go b/cmd/dump.go
index 414912243c..fe3763f077 100644
--- a/cmd/dump.go
+++ b/cmd/dump.go
@@ -60,6 +60,7 @@ func runDump(ctx *cli.Context) {
z.AddFile("gogs-db.sql", path.Join(workDir, "gogs-db.sql"))
z.AddFile("custom/conf/app.ini", path.Join(workDir, "custom/conf/app.ini"))
z.AddDir("log", path.Join(workDir, "log"))
+ // FIXME: SSH key file.
if err = z.Close(); err != nil {
os.Remove(fileName)
log.Fatalf("Fail to save %s: %v", fileName, err)