Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <tianjia.zhang@linux.alibaba.com>
- Loading branch information