summaryrefslogtreecommitdiffstats
path: root/src/b_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_exit.c')
-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);