summaryrefslogtreecommitdiffstats
path: root/models/publickey.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-08 21:26:14 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-08 21:26:14 -0500
commitf15fa9167ade8262bed437451585d319f12d1182 (patch)
tree1f6e32e4377d0c09fd3a57a66caf5098e0c16c97 /models/publickey.go
parentcd0ee35b3f887cc4ab6ba16cc2d955bfae607678 (diff)
downloadgitea-f15fa9167ade8262bed437451585d319f12d1182.tar.gz
gitea-f15fa9167ade8262bed437451585d319f12d1182.zip
cmd: code fix for #905
- routers/admin: add rewrite update hook operation - conf/locale: update locale file due to ini behavior changes - cmd/cert_stub.go: remove useless code - cmd/fix.go: no longer need fix command(at least now)
Diffstat (limited to 'models/publickey.go')
-rw-r--r--models/publickey.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/publickey.go b/models/publickey.go
index 893ff5c96a..b1c7b62449 100644
--- a/models/publickey.go
+++ b/models/publickey.go
@@ -29,7 +29,7 @@ import (
const (
// "### autogenerated by gitgos, DO NOT EDIT\n"
- _TPL_PUBLICK_KEY = `command="%s serv --config=%s key-%d",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty %s` + "\n"
+ _TPL_PUBLICK_KEY = `command="%s serv --config='%s' key-%d",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty %s` + "\n"
)
var (