summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-10-23 15:45:05 +0000
committerChris Lumens <clumens@redhat.com>2006-10-23 15:45:05 +0000
commit2304e8a9f86b6d902048df1bbb23842adaa7b646 (patch)
treeb9356100fe83be1fe56b2e8138d0e770a0928cde
parent186991d22f586f2b7db3d928200437c21bd3fa5b (diff)
downloadanaconda-2304e8a9f86b6d902048df1bbb23842adaa7b646.tar.gz
anaconda-2304e8a9f86b6d902048df1bbb23842adaa7b646.tar.xz
anaconda-2304e8a9f86b6d902048df1bbb23842adaa7b646.zip
Forgot to commit this on Friday.
-rw-r--r--text.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/text.py b/text.py
index 160fa3990..1964dfc5d 100644
--- a/text.py
+++ b/text.py
@@ -560,10 +560,7 @@ def spawnShell(screen):
screen.suspend()
print "\n\nType <exit> to return to the install program.\n"
if os.path.exists("/bin/sh"):
- if rhpl.getArch() == "s390":
- iutil.execWithRedirect("/bin/sh", [])
- else:
- iutil.execWithRedirect("/bin/sh", [], stdout="/dev/console", stderr="/dev/console")
+ iutil.execConsole()
else:
print "Unable to find /bin/sh to execute! Not starting shell"
time.sleep(5)