aboutsummaryrefslogtreecommitdiff
path: root/mailutils
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils')
-rw-r--r--mailutils/mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/mime.c b/mailutils/mime.c
index 125ca01dd..ee147802e 100644
--- a/mailutils/mime.c
+++ b/mailutils/mime.c
@@ -357,7 +357,7 @@ static int parse(const char *boundary, char **argv)
if (opts & OPT_X) {
signal(SIGPIPE, SIG_DFL);
// exit if helper exited >0
- rc = wait4pid(pid);
+ rc = (wait4pid(pid) & 0xff);
if (rc)
return rc+20;
}