fix: unset builtin
This commit is contained in:
parent
55459fae94
commit
f9f9562a40
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
/* By: jschaft <cecile.schaft@orange.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/06/03 12:02:45 by jschaft #+# #+# */
|
||||
/* Updated: 2024/06/28 11:52:31 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/06/28 13:05:59 by mcolonna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -18,7 +18,7 @@ static int unset_builtin(t_env *env, t_call call)
|
|||
int i;
|
||||
|
||||
var.value = "";
|
||||
i = -1;
|
||||
i = 0;
|
||||
while (call.argv[++i])
|
||||
{
|
||||
var.name = call.argv[++i];
|
||||
|
|
Loading…
Add table
Reference in a new issue