diff options
author | Chris Lumens <clumens@redhat.com> | 2006-10-19 20:14:53 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-10-19 20:14:53 +0000 |
commit | 5789f289c12bba855fa55a081485a03c41668a35 (patch) | |
tree | 826ff410eff92c948454ffdb798b712391221ab0 /anaconda | |
parent | d269d06d191217e15f7f792ad3cf13ef95ea13f9 (diff) | |
download | anaconda-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 'anaconda')
-rwxr-xr-x | anaconda | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -426,7 +426,10 @@ def runVNC(vncpassword, vncconnecthost, vncconnectport, vncStartedCB=None): if os.access(p, os.R_OK|os.X_OK): os.environ['PYTHONSTARTUP'] = p break - 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: addpid(shpid) os.waitpid(shpid, 0) |