Re: [PATCH 1/2] Fix going back from "NFS Setup" screen in stage 1 (#507064)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
> index 8c52779..a8bba1c 100644
> --- a/loader/nfsinstall.c
> +++ b/loader/nfsinstall.c
> @@ -89,7 +89,7 @@ static int nfsGetSetup(char ** hostptr, char ** dirptr) {
>      do {
>          rc = newtWinEntries(_("NFS Setup"), buf, 60, 5, 15,
>                              24, entries, _("OK"), _("Back"), NULL);
> -    } while (!strcmp(newServer, "") || !strcmp(newDir, ""));
> +    } while ((!strcmp(newServer, "") || !strcmp(newDir, "")) && rc != 2);
>  
>      free(buf);
>      free(entries[1].text);

This one looks okay.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux