[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH 1/2] Retry network configuration in loader (#492009)
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH 1/2] Retry network configuration in loader (#492009)
- Date: Tue, 5 May 2009 10:01:26 -0400
> diff --git a/loader/loader.c b/loader/loader.c
> index 7b3eb0c..f960c28 100644
> --- a/loader/loader.c
> +++ b/loader/loader.c
> @@ -1378,7 +1378,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
> _("OK"), _("Back"), NULL);
> }
>
> - if (rc && rc != 1) {
> + if (rc && (rc != 1) && (loaderData->method == -1)) {
> loaderData->method = -1;
> step = STEP_KBD;
> dir = -1;
Just a stylistic thing... you don't need the parens around rc != 1
there.
Looks fine otherwise.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]