projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sbr/execprog.c: Fix the return value
[mmh]
/
sbr
/
execprog.c
diff --git
a/sbr/execprog.c
b/sbr/execprog.c
index
9cc8879
..
ce38307
100644
(file)
--- 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 */