Re: [master] Fix rebooting after a kickstart error is detected.

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

 



ack

On Mon, 2011-03-28 at 10:07 +0200, Ales Kozumplik wrote:
> 1) make sure an actual reboot is done, not just a delayed reboot waiting
>  for ctrl-c .
> 2) shutdown the user interface, this prevents screen in textmode from
> still running and mangling the terminating output.
> 
> Resolves: rhbz#690748
> ---
>  pyanaconda/kickstart.py |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
> index 4afdfb8..cf14899 100644
> --- a/pyanaconda/kickstart.py
> +++ b/pyanaconda/kickstart.py
> @@ -1207,7 +1207,8 @@ class AnacondaKSHandler(superclass):
>          except KickstartError as e:
>              if self.anaconda.intf:
>                  self.anaconda.intf.kickstartErrorWindow(e.__str__())
> -                sys.exit(1)
> +                self.anaconda.intf.shutdown()
> +                sys.exit(0)
>              else:
>                  stderrLog.critical(_("The following error was found while parsing the kickstart "
>                                       "configuration file:\n\n%s") % e)

-- 
Martin Gracik <mgracik@xxxxxxxxxx>

_______________________________________________
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