lxc-init: exit with error on wait failure

parent a66fcff7
......@@ -432,6 +432,7 @@ int main(int argc, char *argv[])
if (my_args.quiet)
fprintf(stderr, "Failed to wait on child %d\n", pid);
ret = -1;
goto out;
}
......
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