fix: message
This commit is contained in:
parent
13adfc5a07
commit
bceabcb382
@ -39,6 +39,7 @@ void executor_child(t_minishell *msh, t_command *command)
|
|||||||
if (is_dir(path))
|
if (is_dir(path))
|
||||||
{
|
{
|
||||||
ft_putstr_fd(RED BOLD, 2);
|
ft_putstr_fd(RED BOLD, 2);
|
||||||
|
ft_putstr_fd("minishell: ", 2);
|
||||||
ft_putstr_fd(command->args[0], 2);
|
ft_putstr_fd(command->args[0], 2);
|
||||||
ft_putstr_fd(": " RESET "is a directory\n", 2);
|
ft_putstr_fd(": " RESET "is a directory\n", 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user