Return the child's exit code