Commit b543ce96 by Serge Hallyn

fix lxc-usernsexec regression

In what should have been a straightforward fix for a bug found by priority, I sent 1 instead of '1' from parent to child, while the child checked for '1'. Fix. Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 95b422fc
......@@ -425,7 +425,7 @@ int main(int argc, char *argv[])
exit(1);
}
buf[0] = 1;
buf[0] = '1';
if (map_child_uids(pid, active_map)) {
fprintf(stderr, "error mapping child\n");
ret = 0;
......
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