diff --git a/.nfs00000000098c816000000394 b/.nfs00000000098c816000000394 new file mode 100755 index 0000000..4655b91 Binary files /dev/null and b/.nfs00000000098c816000000394 differ diff --git a/parse/parse.c b/parse/parse.c index f9da0ab..c4442c1 100644 --- a/parse/parse.c +++ b/parse/parse.c @@ -66,7 +66,7 @@ int ft_executable_parse(t_data *data, t_cmd *cmd) own = 1; else if (ft_strcmp(cmd->args[0], "pwd") == 0) own = 1; - else if (ft_strcmp(cmd->args[0], "cmd") == 0) + else if (ft_strcmp(cmd->args[0], "cd") == 0) own = 1; if (own == 0) path = ft_get_executable(data->env, cmd->args[0]);