builtins
This commit is contained in:
@@ -8,7 +8,7 @@ void builtin_env(char *str, char **envp)
|
||||
(void)str;
|
||||
while (envp[i])
|
||||
{
|
||||
if (envp[i][0])
|
||||
if (envp[i][0] && ft_strchr(envp[i], '=') != NULL)
|
||||
printf("%s\n", envp[i]);
|
||||
i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user