From 870e8a742536c08d4102630d0e4ffa0f86e639f0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 5 Oct 2020 15:18:41 +0200 Subject: Pipes rework incomming --- src/f_com.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/f_com.c') diff --git a/src/f_com.c b/src/f_com.c index 7b06128..d1edb2c 100644 --- a/src/f_com.c +++ b/src/f_com.c @@ -16,9 +16,8 @@ #include "d_define.h" #include "s_struct.h" -void f_fail_command_not_found(const char command[], t_msh *msh) +void f_command_not_found(const char command[]) { ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", "minishell", command, F_COMMAND_NOT_FOUND); - msh->ret = 127; } -- cgit v1.2.3