diff options
| author | Dominik Kaiser | 2025-01-20 13:19:08 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-01-20 13:19:08 +0100 |
| commit | 549fabc52ff4d159075f224fb05f5b87f7c5309c (patch) | |
| tree | 3ccec9d67e0eef78583d3c2ef9a854413053e6f3 /src/get_cmd_path.c | |
| parent | 8f5abcdb257393a2e576fe382835e8e060662834 (diff) | |
| parent | af9d1a9b39daaf1b86cf94ee629e06503d8ab6d4 (diff) | |
| download | minishell-549fabc52ff4d159075f224fb05f5b87f7c5309c.tar.gz minishell-549fabc52ff4d159075f224fb05f5b87f7c5309c.zip | |
Merge changes
Diffstat (limited to 'src/get_cmd_path.c')
| -rw-r--r-- | src/get_cmd_path.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/get_cmd_path.c b/src/get_cmd_path.c index c35b3bc..2980b0f 100644 --- a/src/get_cmd_path.c +++ b/src/get_cmd_path.c @@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/12/17 19:19:59 by chuhlig #+# #+# */ -/* Updated: 2025/01/19 18:56:22 by chuhlig ### ########.fr */ +/* Updated: 2025/01/20 13:18:45 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -85,8 +85,9 @@ static char *find_in_path(char *cmd, t_env *env, int *return_code) path++; } *return_code = 127; - printf("%s:", cmd); - ft_putstr_fd(" command not found", 2);//output is shit even if its fine for tester + ft_printf("%s:", cmd); + ft_putstr_fd(" command not found", 2); + ft_printf("\n"); return (NULL); } |
