summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2009-03-19 15:41:03 +0100
committerMartin Sivak <msivak@redhat.com>2009-03-20 10:27:58 +0100
commit0d58e68ea03011ec3ef0987ff5cc246ed70f2c11 (patch)
tree5146ede9ccf8226479855d3748c7e0d5ec2708bd /rescue.py
parente2c65911008d66a5e41f86315ef18dfa7acf53af (diff)
downloadanaconda-0d58e68ea03011ec3ef0987ff5cc246ed70f2c11.tar.gz
anaconda-0d58e68ea03011ec3ef0987ff5cc246ed70f2c11.tar.xz
anaconda-0d58e68ea03011ec3ef0987ff5cc246ed70f2c11.zip
Do not traceback at the very beginning of rescue mode
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rescue.py b/rescue.py
index aeceb9803..688266f41 100644
--- a/rescue.py
+++ b/rescue.py
@@ -223,15 +223,15 @@ def runRescue(anaconda, instClass):
sys.exit(0)
+ screen = SnackScreen()
+ anaconda.intf = RescueInterface(screen)
+
if anaconda.isKickstart:
if anaconda.id.ksdata.rescue and anaconda.id.ksdata.rescue.romount:
readOnly = 1
else:
readOnly = 0
else:
- screen = SnackScreen()
- anaconda.intf = RescueInterface(screen)
-
# prompt to see if we should try and find root filesystem and mount
# everything in /etc/fstab on that root
rc = ButtonChoiceWindow(screen, _("Rescue"),