From ab17029c636c70401c444e7d08a5166a2890c463 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 3 May 2023 17:01:08 +0200 Subject: [PATCH] cli/command/container: hijackedIOStreamer: explicitly ignore err Make the linters and IDEs happier Signed-off-by: Sebastiaan van Stijn --- cli/command/container/hijack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }) }