fix :typo
This commit is contained in:
parent
bf697c4939
commit
b49247029f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue