summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-10-03 20:41:48 +0000
committerMike Fulbright <msf@redhat.com>2002-10-03 20:41:48 +0000
commita40be875fa02087cd1097f38117ce068bd20656a (patch)
treeb49547cbfe71e9276c367059b280781d77e3d48c /anaconda
parent58026130caeffab71da288ad19a5cc55d43f387b (diff)
downloadanaconda-a40be875fa02087cd1097f38117ce068bd20656a.tar.gz
anaconda-a40be875fa02087cd1097f38117ce068bd20656a.tar.xz
anaconda-a40be875fa02087cd1097f38117ce068bd20656a.zip
be cautious
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda3
1 files changed, 2 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 0aabacc54..b17456712 100755
--- a/anaconda
+++ b/anaconda
@@ -554,7 +554,8 @@ if (display_mode == 'g'):
print "GUI installer startup failed, falling back to text mode."
log("GUI installer startup failed, falling back to text mode.")
display_mode = 't'
- del os.environ['DISPLAY']
+ if 'DISPLAY' in os.environ.keys():
+ del os.environ['DISPLAY']
time.sleep(2)
from text import InstallInterface