On Thu, 26.11.15 12:27, eshark (eshar...@163.com) wrote:
>
>Hi, all,
>
> It seems that the exec_spawn() will return 0 if fork() fails, because
> that
> return log_unit_error_errno(params->unit_id, errno, "Failed
> to fork: %m");
> will return -r eventually. And
Hi, all,
It seems that the exec_spawn() will return 0 if fork() fails, because
that
return log_unit_error_errno(params->unit_id, errno, "Failed to
fork: %m");
will return -r eventually. And here r = exec_context_load_environment() ,
which has
exited successfully.
Hi, all,
It seems that the exec_spawn() will return 0 if fork() fails, because
that
return log_unit_error_errno(params->unit_id, errno, "Failed to
fork: %m");
will return -r eventually. And here r = exec_context_load_environment() ,
which has
exited successfully.