From 1c43d89fa19fad14a244a490d2e3da86f4e0a543 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 30 Mar 2023 13:05:38 +0200 Subject: [PATCH] fix: absolute path not found error message --- utils/ft_get_executable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/ft_get_executable.c b/utils/ft_get_executable.c index 3a69d5f..5a84117 100644 --- a/utils/ft_get_executable.c +++ b/utils/ft_get_executable.c @@ -6,7 +6,7 @@ /* By: cchauvet exit_code = 127; - ft_eprintf("minishell: %s bash: No such file or directery\n"); + ft_eprintf("minishell: %s: No such file or directery\n", name); return (NULL); } if (access(name, X_OK) != 0)