aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 317b149f..1a3ef837 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -316,7 +316,7 @@ int xwaitpid(pid_t pid)
while (-1 == waitpid(pid, &status, 0) && errno == EINTR);
- return WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)+127;
+ return WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)+128;
}
int xpclose_both(pid_t pid, int *pipes)