Remove redundant close of /dev/null in spawn.go
This commit is contained in:
@@ -52,10 +52,6 @@ func (c *MyConfig) Spawner() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Unable to spawn %s: %s", prg[0], err)
|
log.Printf("Unable to spawn %s: %s", prg[0], err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close file errors we don't handle :) at all.
|
|
||||||
_ = devnullR.Close()
|
|
||||||
_ = devnullW.Close()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user