From b49247029fbd442017ad5bba1a2c11bbb5eae837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 20 Apr 2021 19:03:49 +0200 Subject: [PATCH] fix :typo --- minishell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minishell.c b/minishell.c index 1dcd46e..6593f98 100644 --- a/minishell.c +++ b/minishell.c @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) if (pidFils == 0) { // instructions du fils - int test = execvp(cmd->seq[0][0], cmd->seq[0]); + execvp(cmd->seq[0][0], cmd->seq[0]); exit(errno); // si execlp échoue on exit avec une erreur } else