This commit is contained in:
Vadim 2018-07-17 00:42:26 +00:00 committed by GitHub
commit 31a386aa18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -153,7 +153,7 @@ func runWeb(ctx *cli.Context) error {
log.Fatal(4, "Failed to bind %s", listenAddr, err)
}
defer listener.Close()
err = fcgi.Serve(listener, context2.ClearHandler(m))
fcgi.Serve(listener, context2.ClearHandler(m))
case setting.UnixSocket:
if err := os.Remove(listenAddr); err != nil && !os.IsNotExist(err) {
log.Fatal(4, "Failed to remove unix socket directory %s: %v", listenAddr, err)

View File

@ -71,6 +71,4 @@ func (runner) Execute(args []string, r <-chan svc.ChangeRequest, changes chan<-
return false, 0
}
}
return false, 0
}