summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-10-19 20:14:53 +0000
committerChris Lumens <clumens@redhat.com>2006-10-19 20:14:53 +0000
commit5789f289c12bba855fa55a081485a03c41668a35 (patch)
tree826ff410eff92c948454ffdb798b712391221ab0 /text.py
parentd269d06d191217e15f7f792ad3cf13ef95ea13f9 (diff)
downloadanaconda-5789f289c12bba855fa55a081485a03c41668a35.tar.gz
anaconda-5789f289c12bba855fa55a081485a03c41668a35.tar.xz
anaconda-5789f289c12bba855fa55a081485a03c41668a35.zip
Don't specify a stdout or stderr for shells on s390 (#210481).
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.py b/text.py
index a57e08176..160fa3990 100644
--- a/text.py
+++ b/text.py
@@ -560,7 +560,10 @@ def spawnShell(screen):
screen.suspend()
print "\n\nType <exit> to return to the install program.\n"
if os.path.exists("/bin/sh"):
- iutil.execWithRedirect("/bin/sh", [], stdout="/dev/console", stderr="/dev/console")
+ if rhpl.getArch() == "s390":
+ iutil.execWithRedirect("/bin/sh", [])
+ else:
+ iutil.execWithRedirect("/bin/sh", [], stdout="/dev/console", stderr="/dev/console")
else:
print "Unable to find /bin/sh to execute! Not starting shell"
time.sleep(5)