mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
bug fixed
This commit is contained in:
7
serve.go
7
serve.go
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user