X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fexecprog.c;h=ce38307798f1544ba8e0208d9f21e0b2af4f4863;hb=822e01d48920e30e281c5144ae0977ac2bf27549;hp=9cc88797d7e97df898626fce523fd3049d3a047f;hpb=bcee4360d0113d2cbc71c9b0d13495327894e454;p=mmh 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 */