diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-11 11:47:47 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-11 11:47:47 +0200 |
commit | 255f50dd5427a17e5277a30d98b0a1c5eaec6001 (patch) | |
tree | 95a94b431c4a0fc7bd8aff53cff862b628fc6ca8 /io.c | |
parent | 9b8d1fd59b0b4119097bb9943620804c12d1bf0a (diff) | |
parent | 938afb4d7acb9974d5789dfe4e322c0ccce0541e (diff) | |
download | egawk-255f50dd5427a17e5277a30d98b0a1c5eaec6001.tar.gz egawk-255f50dd5427a17e5277a30d98b0a1c5eaec6001.tar.bz2 egawk-255f50dd5427a17e5277a30d98b0a1c5eaec6001.zip |
Merge branch 'gawk-5.1-stable'
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; } } |