diff options
author | Mike Fulbright <msf@redhat.com> | 2003-04-16 19:44:04 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-04-16 19:44:04 +0000 |
commit | ab95ce7eddf21de3709498375bf222091ce3c6a0 (patch) | |
tree | 01e90903d07f76d9e94970364f8c72b223759d4d /autopart.py | |
parent | 9e4bbd8d7dcc3020e69e3027879a1e489199d706 (diff) | |
download | anaconda-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.py | 10 |
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. |