summaryrefslogtreecommitdiffstats
path: root/src/f_com.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-05 15:18:41 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-05 15:18:41 +0200
commit870e8a742536c08d4102630d0e4ffa0f86e639f0 (patch)
treeb1ad22f003a7e833fc13c62f0be605c258a3d55e /src/f_com.c
parentTODO update (diff)
download42-minishell-870e8a742536c08d4102630d0e4ffa0f86e639f0.tar.gz
42-minishell-870e8a742536c08d4102630d0e4ffa0f86e639f0.tar.bz2
42-minishell-870e8a742536c08d4102630d0e4ffa0f86e639f0.tar.xz
42-minishell-870e8a742536c08d4102630d0e4ffa0f86e639f0.tar.zst
42-minishell-870e8a742536c08d4102630d0e4ffa0f86e639f0.zip
Pipes rework incomming
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;
}