- /* Make this job the foreground job */
- /* suppress messages when run from /linuxrc mag@sysgo.de */
- if (tcsetpgrp(shell_terminal, pi->pgrp) && errno != ENOTTY)
- perror_msg("tcsetpgrp-1");
+ /* Put the job into the foreground. */
+ tcsetpgrp(shell_terminal, pi->pgrp);