Add basic fifo support for IO copy
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -44,6 +44,7 @@ func (i *IO) Close() error {
|
||||
i.Stdin,
|
||||
i.Stdout,
|
||||
i.Stderr,
|
||||
i.Console,
|
||||
} {
|
||||
if c != nil {
|
||||
if err := c.Close(); oerr == nil {
|
||||
@@ -51,9 +52,6 @@ func (i *IO) Close() error {
|
||||
}
|
||||
}
|
||||
}
|
||||
if i.Console != nil {
|
||||
oerr = i.Console.Close()
|
||||
}
|
||||
return oerr
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user