diff --git a/cli/command/container/hijack.go b/cli/command/container/hijack.go index 7ecf5f5057..cd91e69514 100644 --- a/cli/command/container/hijack.go +++ b/cli/command/container/hijack.go @@ -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) }) }