Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check error return values #1560

Merged
merged 1 commit into from
Aug 17, 2017
Merged

Check error return values #1560

merged 1 commit into from
Aug 17, 2017

Conversation

tklauser
Copy link
Contributor

Both tty.resize and notifySocket.setupSocket return an error which isn't
handled in the caller. Fix this and either log or propagate the errors.

Found using https://github.com/mvdan/unparam

Signed-off-by: Tobias Klauser tklauser@distanz.ch

Both tty.resize and notifySocket.setupSocket return an error which isn't
handled in the caller. Fix this and either log or propagate the errors.

Found using https://github.com/mvdan/unparam

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@crosbymichael
Copy link
Member

crosbymichael commented Aug 17, 2017

LGTM

Approved with PullApprove

@cyphar
Copy link
Member

cyphar commented Aug 17, 2017

LGTM.

Approved with PullApprove

@cyphar cyphar merged commit 4c5bf64 into opencontainers:master Aug 17, 2017
cyphar added a commit that referenced this pull request Aug 17, 2017
  Check error return values

LGTMs: @crosbymichael @cyphar
Closes #1560
@tklauser tklauser deleted the handle-error-return branch September 2, 2017 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants