diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 17:25:33 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 17:25:33 +0200 |
commit | 6ddc7275f1d88f75a8d77d93af690b877325cc46 (patch) | |
tree | c66d6809346e598be3d2a001078676e8e33a7a3e /src/b_exit.c | |
parent | Normed b_env (diff) | |
download | 42-minishell-6ddc7275f1d88f75a8d77d93af690b877325cc46.tar.gz 42-minishell-6ddc7275f1d88f75a8d77d93af690b877325cc46.tar.bz2 42-minishell-6ddc7275f1d88f75a8d77d93af690b877325cc46.tar.xz 42-minishell-6ddc7275f1d88f75a8d77d93af690b877325cc46.tar.zst 42-minishell-6ddc7275f1d88f75a8d77d93af690b877325cc46.zip |
Normed b_exit
Diffstat (limited to '')
-rw-r--r-- | src/b_exit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/b_exit.c b/src/b_exit.c index cb8988f..3aef1c1 100644 --- a/src/b_exit.c +++ b/src/b_exit.c @@ -21,9 +21,7 @@ #include "s_struct.h" #include "u_utils.h" -uint8_t - b_exit(char *args[], - t_msh *msh) +uint8_t b_exit(char *args[], t_msh *msh) { uint8_t ret; const uint64_t argc = u_builtins_get_argc((const char**)args); @@ -36,7 +34,6 @@ uint8_t if (argc == 1) { ret = ft_atoi(args[0]); - /* TODO: non numeric args[0] */ } else ret = msh->ret; |