21 lines
1.1 KiB
C
21 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* plaunch_if.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: wescande <wescande@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2017/03/07 17:26:53 by wescande #+# #+# */
|
|
/* Updated: 2017/03/21 18:10:08 by jhalford ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "minishell.h"
|
|
|
|
int plaunch_if(t_process *p)
|
|
{
|
|
data_singleton()->exec.attrs &= ~EXEC_IF_BRANCH;
|
|
ft_exec(&p->data.d_if.content);
|
|
/* set_exitstatus(ft_atoi(ft_getenv(data_singleton()->env, "?"))); */
|
|
return (0);
|
|
}
|