Fix logrus imports and runc.IO closer method
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
aa5ff88bbc
commit
752fc2cc46
1 changed files with 1 additions and 9 deletions
|
@ -49,13 +49,5 @@ func (o OIO) cleanup() {
|
||||||
if o.master != nil {
|
if o.master != nil {
|
||||||
o.master.Close()
|
o.master.Close()
|
||||||
}
|
}
|
||||||
if o.rio.Stdin != nil {
|
o.rio.Close()
|
||||||
o.rio.Stdin.(*os.File).Close()
|
|
||||||
}
|
|
||||||
if o.rio.Stdout != nil {
|
|
||||||
o.rio.Stdout.(*os.File).Close()
|
|
||||||
}
|
|
||||||
if o.rio.Stderr != nil {
|
|
||||||
o.rio.Stderr.(*os.File).Close()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue