diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-23 19:53:50 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-23 19:53:50 +0800 |
commit | 3d1a967477dd8245dabee6f9f8feb3c1c3924fc3 (patch) | |
tree | 90affe09fc04c57c5bd6eaf6d7ee88ee55380eef /serve.go | |
parent | 2dd5259f8e499b0749ecb21faa5e6ad1acb39ff7 (diff) | |
download | gitea-3d1a967477dd8245dabee6f9f8feb3c1c3924fc3.tar.gz gitea-3d1a967477dd8245dabee6f9f8feb3c1c3924fc3.zip |
bug fixed
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -280,7 +280,10 @@ func runServ(k *cli.Context) { //fmt.Println("...", cmd) //runUpdate(k) - c := exec.Command("exec", "git", "update-server-info") - c.Run() + c := exec.Command("git", "update-server-info") + err := c.Run() + if err != nil { + log.Error("update-server-info: %v", err) + } } } |