diff options
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py index b8786d7f1..f3e3baf68 100644 --- a/bootloader.py +++ b/bootloader.py @@ -23,7 +23,7 @@ import isys import partedUtils -import os +import os, sys import iutil import string import rhpl @@ -41,7 +41,16 @@ from fsset import * def bootloaderSetupChoices(anaconda): if anaconda.dir == DISPATCH_BACK: - return + rc = anaconda.intf.messageWindow(_("Warning"), + _("Your filesystems have already been activated. You " + "cannot go back past this point.\n\nWould you like to " + "continue with the installation?"), + type="custom", custom_icon=["error","error"], + custom_buttons=[_("_Exit installer"), _("_Continue")]) + + if rc == 0: + sys.exit(0) + return DISPATCH_FORWARD # FIXME: this is a hack... if flags.livecd: |