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

nsenter: fix repeat close() operations #2481

Merged
merged 1 commit into from
Jun 20, 2020
Merged

Commits on Jun 19, 2020

  1. nsenter: fix repeat close() operations

    It is obvious that the loop at the first place executes at least
    twice, and the close() call after the first time always returns
    an EBADF error, so move these operations outside the loop that
    do not need to be repeated.
    
    Signed-off-by: Tianjia Zhang <[email protected]>
    uudiin committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    04806ab View commit details
    Browse the repository at this point in the history