--- dash-0.5.10.2/src/jobs.c.orig Sun May 10 01:20:24 2020 +++ dash-0.5.10.2/src/jobs.c Sun May 10 01:20:58 2020 @@ -1147,7 +1147,7 @@ do { gotsigchld = 0; - err = wait3(status, flags, NULL); + err = waitpid(-1, status, flags); if (err || !block) break;