Skip to content

Commit

Permalink
corrected a small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdell-Rabiai committed May 16, 2023
1 parent ebe9e59 commit 2821339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ebuiltin_functions/unset.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ void unset_variable(char *str, t_infos *infos)
{
if (check_variable_regex(str))
{
ft_printf(2, "minishell: unset: `%s': not a valid identifier\n", str);
exit(EXIT_FAILURE);
ft_printf(2, "minishell: unsetttt: `%s': not a valid identifier\n", str);
return ;
}
if (delete_head_envp(infos, str))
return ;
Expand Down

0 comments on commit 2821339

Please sign in to comment.