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:
Sebastiaan van Stijn 2023-05-03 17:01:08 +02:00
parent afd320c5ab
commit ab17029c63
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func (h *hijackedIOStreamer) setupInput() (restore func(), err error) {
var restoreOnce sync.Once var restoreOnce sync.Once
restore = func() { restore = func() {
restoreOnce.Do(func() { restoreOnce.Do(func() {
restoreTerminal(h.streams, h.inputStream) _ = restoreTerminal(h.streams, h.inputStream)
}) })
} }