diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-27 01:47:05 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-27 01:47:05 +0000 |
commit | e558ec49d73e13f4366f117c4515abe28867b312 (patch) | |
tree | 16bd8208df6414243635d4b69a685cc4afa5a003 | |
parent | a1f847eae994d665d01b85b0fd1a69492455f3ec (diff) | |
download | execline-e558ec49d73e13f4366f117c4515abe28867b312.tar.gz execline-e558ec49d73e13f4366f117c4515abe28867b312.tar.xz execline-e558ec49d73e13f4366f117c4515abe28867b312.zip |
Not getting rid of wait_status today...
-rw-r--r-- | src/execline/backtick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/backtick.c b/src/execline/backtick.c index 3928f90..844882b 100644 --- a/src/execline/backtick.c +++ b/src/execline/backtick.c @@ -55,7 +55,7 @@ int main (int argc, char const **argv, char const *const *envp) close(fdwstat) ; if (wait_pid(pid, &fdwstat) < 0) strerr_diefu1sys(111, "wait_pid") ; - if (WIFSIGNALED(fdwstat) || WEXITSTATUS(fdwstat)) + if (wait_status(fdwstat)) { if (insist) if (WIFSIGNALED(fdwstat)) strerr_dief1x(111, "child process crashed") ; |