diff --git a/caller.c b/caller.c index 48d1b3a..99f22ca 100755 --- a/caller.c +++ b/caller.c @@ -27,7 +27,7 @@ int builtin_call(t_datas *datas, t_command *cmd) else if (ft_strncmp(cmd->argv[0], "env", 4) == 0) return (ft_env(datas, cmd)); else if (ft_strncmp(cmd->argv[0], "exit", 5) == 0) - return (ft_exit(cmd)); + return (ft_exit(datas, cmd)); else return (-1); }