diff --git a/cmd/cmd.c b/cmd/cmd.c index 3aff8eb..982962e 100644 --- a/cmd/cmd.c +++ b/cmd/cmd.c @@ -6,7 +6,7 @@ /* By: cchauvet executable != NULL && cmd->own_cmd == 0 - && cmd->pid != -1 && cmd->fd_in[0] != -2 && cmd->fd_out[0] != -2) + && cmd->pid != -1 && cmd->fd_in[0] != -2 && cmd->fd_out[0] != -2) { waitpid(cmd->pid, &exit_status, 0); if (WIFSIGNALED(exit_status))