summaryrefslogtreecommitdiffstats
path: root/src/f_com.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/f_com.c')
-rw-r--r--src/f_com.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/f_com.c b/src/f_com.c
index 7b06128..d1edb2c 100644
--- a/src/f_com.c
+++ b/src/f_com.c
@@ -16,9 +16,8 @@
#include "d_define.h"
#include "s_struct.h"
-void f_fail_command_not_found(const char command[], t_msh *msh)
+void f_command_not_found(const char command[])
{
ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", "minishell", command,
F_COMMAND_NOT_FOUND);
- msh->ret = 127;
}