diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-11 11:48:43 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-11 11:48:43 +0200 |
commit | 8d9d0c5ba78546704658351d2d8e9aa626bb0383 (patch) | |
tree | 13d03d31d4d92a6d903e4cb748c2fce69be8c632 /io.c | |
parent | 114ec84761d3c856ae7d9402dcd6165a988d0a19 (diff) | |
parent | 255f50dd5427a17e5277a30d98b0a1c5eaec6001 (diff) | |
download | egawk-8d9d0c5ba78546704658351d2d8e9aa626bb0383.tar.gz egawk-8d9d0c5ba78546704658351d2d8e9aa626bb0383.tar.bz2 egawk-8d9d0c5ba78546704658351d2d8e9aa626bb0383.zip |
Merge branch 'master' into feature/docit
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; } } |