Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 13353dc420e3a7b6ff1234b0ce9fbd3a1802837c
      https://github.com/lxc/lxc/commit/13353dc420e3a7b6ff1234b0ce9fbd3a1802837c
  Author: Serge Hallyn <serge.hal...@ubuntu.com>
  Date:   2015-06-12 (Fri, 12 Jun 2015)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  daemonized start: exit children on failure, don't return

When starting a daemonized container, only the original parent
thread should return to the caller.  The first forked child
immediately exits after forking, but the grandparent child
was in some places returning on error - causing a second instance
of the calling function.

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Acked-by: Tycho Andersen <tycho.ander...@canonical.com>


_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to