fix error title
This commit is contained in:
parent
c8806e22c6
commit
4cb8ca86b9
@ -15,10 +15,10 @@
|
||||
void error_msg(char *func, char *msg)
|
||||
{
|
||||
if (errno)
|
||||
perror(RED BOLD "msh" RESET);
|
||||
perror(RED BOLD "minishell" RESET);
|
||||
else
|
||||
{
|
||||
ft_putstr_fd(RED BOLD "msh" RESET ": ", 2);
|
||||
ft_putstr_fd(RED BOLD "minishell" RESET ": ", 2);
|
||||
if (func != NULL)
|
||||
{
|
||||
ft_putstr_fd(func, 2);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user