Commit 1096ff8b authored by komask's avatar komask
Browse files

export bad error

parent 5ad66ee4
......@@ -231,7 +231,7 @@ int ft_export(char **args, t_xe *xe)
if (ft_arraylen(args) == 1)
{
ret = print_export(xe->env, xe->exported);
if (ret != MALLOC_ERR)
if (ret != SUCCESS && ret != MALLOC_ERR)
ret = WRITE_ERR;
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment