mirror of https://github.com/gin-gonic/gin.git
Removes debug variables
This commit is contained in:
parent
cd6e95f0e4
commit
eb568d1a0c
3
gin.go
3
gin.go
|
@ -180,8 +180,7 @@ func (engine *Engine) RunUnix(file string) (err error) {
|
||||||
defer func() { debugPrintError(err) }()
|
defer func() { debugPrintError(err) }()
|
||||||
|
|
||||||
os.Remove(file)
|
os.Remove(file)
|
||||||
listener, err2 := net.Listen("unix", file)
|
listener, err := net.Listen("unix", file)
|
||||||
err = err2
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue