commit cb50131f9b27581aa91f15bce944ba68969ff6d7 parent 5c86e38d23d8c53c09e508b867afc2701d6d851b Author: Michael Forney <mforney@mforney.org> Date: Sat, 30 Apr 2016 01:12:19 -0700 launch: Initialize child_pid to 0 rather than -1 Diffstat:
M | launch/launch.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/launch/launch.c b/launch/launch.c @@ -51,7 +51,7 @@ #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array)[0]) -pid_t child_pid = -1; +pid_t child_pid; static struct { int socket;