This commit is contained in:
Loic Deridder
2025-02-14 11:05:03 +01:00
parent 3c46c71609
commit bf6877e18c

View File

@@ -29,7 +29,7 @@ int handle_file(t_ast_n *node, int check, int i)
fd = open(node->files[i], O_WRONLY | O_CREAT | O_APPEND, 0666);
if (fd == -1)
{
ft_fprintf(2, "%s: %s\n",node->files[i], "Permission denied");
ft_fprintf(2, "%s: %s\n", node->files[i], "Permission denied");
return (1);
}
if (check == 1)