summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-16 19:44:04 +0000
committerMike Fulbright <msf@redhat.com>2003-04-16 19:44:04 +0000
commitab95ce7eddf21de3709498375bf222091ce3c6a0 (patch)
tree01e90903d07f76d9e94970364f8c72b223759d4d /autopart.py
parent9e4bbd8d7dcc3020e69e3027879a1e489199d706 (diff)
downloadanaconda-ab95ce7eddf21de3709498375bf222091ce3c6a0.tar.gz
anaconda-ab95ce7eddf21de3709498375bf222091ce3c6a0.tar.xz
anaconda-ab95ce7eddf21de3709498375bf222091ce3c6a0.zip
handle bug #71450 better than we were
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.