Skip to content

Commit

Permalink
fix: delete minishell:success (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Demirkylych <dmdemirk@c1r4s1.42london.com>
  • Loading branch information
dimadem and Dmitry Demirkylych authored Nov 6, 2024
1 parent 47fc78e commit ca14098
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/execute/execute_child.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ int execute(t_ms_data *data)
builtin_functions[4] = &builtin_export;
builtin_functions[5] = &builtin_pwd;
builtin_functions[6] = &builtin_unset;
if (data->args[0] == NULL)
ft_perror("minishel");
i = -1;
while (++i < sizeof(builtin_commands) / sizeof(char *))
if (ft_strcmp(data->args[0], builtin_commands[i]) == 0)
Expand Down

0 comments on commit ca14098

Please sign in to comment.