mirror of https://github.com/docker/cli.git
cli/command/container: hijackedIOStreamer: explicitly ignore err
Make the linters and IDEs happier Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
afd320c5ab
commit
ab17029c63
|
@ -87,7 +87,7 @@ func (h *hijackedIOStreamer) setupInput() (restore func(), err error) {
|
|||
var restoreOnce sync.Once
|
||||
restore = func() {
|
||||
restoreOnce.Do(func() {
|
||||
restoreTerminal(h.streams, h.inputStream)
|
||||
_ = restoreTerminal(h.streams, h.inputStream)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue