Skip to content

Commit ab17029

Browse files
committed
cli/command/container: hijackedIOStreamer: explicitly ignore err
Make the linters and IDEs happier Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent afd320c commit ab17029

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/command/container/hijack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (h *hijackedIOStreamer) setupInput() (restore func(), err error) {
8787
var restoreOnce sync.Once
8888
restore = func() {
8989
restoreOnce.Do(func() {
90-
restoreTerminal(h.streams, h.inputStream)
90+
_ = restoreTerminal(h.streams, h.inputStream)
9191
})
9292
}
9393

0 commit comments

Comments
 (0)