mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2026-10-16 11:10:07 +02:00
「🗑️」 clean(builtins/echo): cleaned garbage
This commit is contained in:
1 parent
6ac6f778e3
commit
72b4180d55
3 files changed
+9
-10
No files matched your search
+2
-2
@@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/15 21:03:31 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/07/18 14:41:32 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/07/18 14:44:07 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -22,7 +22,7 @@ void exec_cmd(t_cmd *cmd, char **env, t_env *env_t)
|
||||
if (i)
|
||||
{
|
||||
if (i == 5)
|
||||
ft_echo(cmd->argv + 1, cmd->outfile);
|
||||
ft_echo(cmd->argv + 1);
|
||||
if (i == 2)
|
||||
ft_cd(env_t, (cmd->argv)[1]);
|
||||
if (i == 6)
|
||||
|
||||
Reference in new issue
Block a user