summaryrefslogtreecommitdiffstats
path: root/src/b_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-18 16:00:22 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-18 16:00:22 +0100
commit62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69 (patch)
treef2e879822c0043495152b4c597d7234e29bfe063 /src/b_exit.c
parentspammingnormcommits (diff)
download42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.gz
42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.bz2
42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.xz
42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.zst
42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.zip
Diffstat (limited to '')
-rw-r--r--src/b_exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/b_exit.c b/src/b_exit.c
index 4f395cf..b9b17ea 100644
--- a/src/b_exit.c
+++ b/src/b_exit.c
@@ -25,6 +25,7 @@ unsigned char b_exit(char *args[], t_msh *msh)
unsigned char ret;
const unsigned long argc = u_builtins_get_argc((const char**)args);
+ write(STDERR_FILENO, "exit\n", 5 * sizeof(char));
if (argc > 1)
{
f_fail_too_many_args("exit", msh);