#1, removed perror illegal function
This commit is contained in:
parent
124fb2138a
commit
6bfd442e82
3 changed files with 3 additions and 6 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# By: wescande <wescande@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2016/08/29 21:32:58 by wescande #+# #+# #
|
||||
# Updated: 2017/03/15 18:07:26 by jhalford ### ########.fr #
|
||||
# Updated: 2017/03/15 18:11:31 by jhalford ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2016/12/13 17:48:10 by jhalford #+# #+# */
|
||||
/* Updated: 2017/03/13 23:33:06 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/03/15 18:11:49 by jhalford ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -25,10 +25,7 @@ int process_setgroup(t_process *p, pid_t pid)
|
|||
return (0);
|
||||
DG("setpgid(%i, %i)", pid, j->pgid);
|
||||
if (setpgid(pid, j->pgid) == -1)
|
||||
{
|
||||
ft_dprintf(2, "{red}%s: internal setpgid() errno=%i{eoc}\n", SHELL_NAME, errno);
|
||||
perror("");
|
||||
}
|
||||
if (pid == 0 && JOB_IS_FG(j->attrs))
|
||||
{
|
||||
DG("tcsetpgrp[%i]", j->pgid);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2016/12/15 11:49:05 by jhalford #+# #+# */
|
||||
/* Updated: 2017/03/15 17:55:00 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/03/15 18:11:50 by jhalford ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue