diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-18 16:04:14 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-18 16:04:14 +0100 |
commit | 7629736298b29ad5be833c11d338ab3abe236917 (patch) | |
tree | 8c4161357ae75109bcc7b8bf38bcd8b985ea3774 /src/b_exit.c | |
parent | Merge (diff) | |
parent | Push (diff) | |
download | 42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.gz 42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.bz2 42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.xz 42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.zst 42-minishell-7629736298b29ad5be833c11d338ab3abe236917.zip |
Merged branch 'gnu-compat'
Diffstat (limited to 'src/b_exit.c')
-rw-r--r-- | src/b_exit.c | 1 |
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); |