On Sun, Jun 09, 2013 at 05:28:44PM +0100, Ross Lagerwall wrote:
> When a sigchld is received from an alien child, main_pid is set to
> 0 then service_enter_running calls main_pid_good to check if the
> child is running.  This incorrectly returned true because
> kill(main_pid, 0) would return >= 0.
> 
> This fixes an error where a service would die and the cgroup would
> become empty but the service would still report as active (running).
Applied.

Zbyszek
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to