summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index 4e2b8e6de..e50d9c9e9 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1336,7 +1336,15 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
"to select manual partitioning.\n\n"
"Press 'OK' to continue.") % (errortxt),
custom_icon='error')
- return DISPATCH_BACK
+ #
+ # XXX if in kickstart we reboot
+ #
+ if isKickstart:
+ intf.messageWindow(_("Unrecoverable Error"),
+ _("Your system will now be rebooted."))
+ sys.exit(0)
+ else:
+ return DISPATCH_BACK
def autoCreatePartitionRequests(autoreq):
"""Return a list of requests created with a shorthand notation.