fix userns helper error handling
In both of these cases if there is actually an error, we won't close the
pipe and the api call will hang. Instead, let's be sure to close the pipe
before waiting, so that it doesn't hang.
Signed-off-by:
Tycho Andersen <tycho@tycho.ws>
Showing
Please
register
or
sign in
to comment