From 3051df7c3e57d5645a78d87fa63ff1144fd8699a Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 30 Oct 2019 17:05:31 +0100 Subject: exit function works --- src/ft_process_arg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_process_arg.c') diff --git a/src/ft_process_arg.c b/src/ft_process_arg.c index 4f6ccf6..9a1b620 100644 --- a/src/ft_process_arg.c +++ b/src/ft_process_arg.c @@ -21,6 +21,6 @@ ft_process_arg(const char *arg) else if (!ft_strncmp(com[0], "pwd", ft_strlen(com[0]))) return (ft_pwd()); else - return (ft_error(com[0]), 127); + return (ft_error(com[0], 127)); return (0); } -- cgit v1.2.3