The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/ksh#642af4d65a6ae8825306305765a595a6f10eba47
12 lines
374 B
Diff
12 lines
374 B
Diff
diff --git a/src/cmd/ksh93/sh/jobs.c b/src/cmd/ksh93/sh/jobs.c
|
|
--- a/src/cmd/ksh93/sh/jobs.c
|
|
+++ b/src/cmd/ksh93/sh/jobs.c
|
|
@@ -1579,6 +1579,7 @@ int job_wait(register pid_t pid)
|
|
if( pw->p_exit!=SIGTTIN && pw->p_exit!=SIGTTOU)
|
|
break;
|
|
|
|
+ tcsetpgrp(JOBTTY,pw->p_pgrp);
|
|
killpg(pw->p_pgrp,SIGCONT);
|
|
}
|
|
else /* ignore stop when non-interactive */
|