Re: [PATCH 02/10] run-command: factor out return value computation
On Wed, Sep 16, 2015 at 06:39:00PM -0700, Stefan Beller wrote: > +static int determine_return_value(int wait_status, > + int *result, > + int *error_code, > + const char *argv0) > +{ > + if (WIFSIGNALED(w
[PATCH 02/10] run-command: factor out return value computation
We will need computing the return value in a later patch without the wait. Signed-off-by: Stefan Beller --- run-command.c | 54 -- 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/run-command.c b/run-command.c index 28e1d55..c892