Unverified Commit c86d1214 by Christian Brauner Committed by GitHub

Merge pull request #3026 from xmcqueen/master

lxc_usernsexec: continuing after unshare fails leads to confusing and…
parents 94d3c14d dfe4a687
...@@ -441,8 +441,10 @@ int main(int argc, char *argv[]) ...@@ -441,8 +441,10 @@ int main(int argc, char *argv[])
close(pipe_fds2[0]); close(pipe_fds2[0]);
ret = lxc_read_nointr(pipe_fds1[0], buf, 1); ret = lxc_read_nointr(pipe_fds1[0], buf, 1);
if (ret <= 0) if (ret <= 0) {
CMD_SYSERROR("Failed to read from pipe file descriptor %d", pipe_fds1[0]); CMD_SYSERROR("Failed to read from pipe file descriptor %d", pipe_fds1[0]);
_exit(EXIT_FAILURE);
}
buf[0] = '1'; buf[0] = '1';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment