Small log formatting fixes
… and clise to close 👼 Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 2f7e9078466f0d1b3a6a83cc269bce4e0a3b05f0 Component: engine
This commit is contained in:
@ -49,7 +49,7 @@ func (c *Config) InitializeStdio(iop libcontainerd.IOPipe) error {
|
||||
if c.Stdin() == nil && !c.Tty && runtime.GOOS == "windows" {
|
||||
if iop.Stdin != nil {
|
||||
if err := iop.Stdin.Close(); err != nil {
|
||||
logrus.Error("error closing exec stdin: %+v", err)
|
||||
logrus.Errorf("error closing exec stdin: %+v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user