X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fexecprog.c;h=ce38307798f1544ba8e0208d9f21e0b2af4f4863;hp=9cc88797d7e97df898626fce523fd3049d3a047f;hb=556440fbe435fee96348ca56e44c015149e5f7da;hpb=24493820bd28199ac23a81a5444cd2ebfb9c1f9c diff --git a/sbr/execprog.c b/sbr/execprog.c index 9cc8879..ce38307 100644 --- a/sbr/execprog.c +++ b/sbr/execprog.c @@ -27,7 +27,7 @@ execprog(char *cmd, char **arg) default: /* parent */ - return (pidwait(pid, -1) & 0377 ? 1 : 0); + return pidXwait(pid, cmd); } return 1; /* NOT REACHED */