diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-11 11:49:30 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-11 11:49:30 +0200 |
commit | b87591663bee924970860dbe7ab62e37103ae7c6 (patch) | |
tree | 3b02d0e43ee0066b82ffc7942a877f8fbba70689 /io.c | |
parent | 7d2e5e782f93fff222024a896e041fb21b17a3b7 (diff) | |
parent | 255f50dd5427a17e5277a30d98b0a1c5eaec6001 (diff) | |
download | egawk-b87591663bee924970860dbe7ab62e37103ae7c6.tar.gz egawk-b87591663bee924970860dbe7ab62e37103ae7c6.tar.bz2 egawk-b87591663bee924970860dbe7ab62e37103ae7c6.zip |
Merge branch 'master' into feature/readall
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2599,7 +2599,7 @@ wait_any(int interesting) /* pid of interest, if any */ for (redp = red_head; redp != NULL; redp = redp->next) if (interesting == redp->pid) { redp->pid = -1; - redp->status = status; + redp->status = sanitize_exit_status(status); break; } } @@ -2629,7 +2629,7 @@ wait_any(int interesting) /* pid of interest, if any */ for (redp = red_head; redp != NULL; redp = redp->next) if (pid == redp->pid) { redp->pid = -1; - redp->status = status; + redp->status = sanitize_exit_status(status); break; } } |