diff --git a/parsing.c b/parsing.c index 773fd55..558c027 100644 --- a/parsing.c +++ b/parsing.c @@ -44,5 +44,7 @@ bool parsing(t_data *data, char **args, size_t n) return (1); } set_value(data, args, n); - return (0); + if (data->nb_philos > 1) + write(2, "Argument error !\n", 16); + return (data->nb_philos > 1); }