diff options
author | Chris Lumens <clumens@redhat.com> | 2005-09-09 15:00:36 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-09-09 15:00:36 +0000 |
commit | 0c24416c1305ca979b13547da828715f427b0dc4 (patch) | |
tree | fe4b713c05a9a3a153cf08ab91e55d08be3f2951 /anaconda | |
parent | d7f0ebcec4ca32fa9e1b7172720780168e20223c (diff) | |
download | anaconda-0c24416c1305ca979b13547da828715f427b0dc4.tar.gz anaconda-0c24416c1305ca979b13547da828715f427b0dc4.tar.xz anaconda-0c24416c1305ca979b13547da828715f427b0dc4.zip |
Make sure we have /dev/tty3 before trying to write to it.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -356,7 +356,7 @@ from flags import flags log = logging.getLogger("anaconda") stdoutLog = logging.getLogger("anaconda.stdout") -if iutil.getArch() != "s390": +if iutil.getArch() != "s390" and os.access("/dev/tty3", os.W_OK): logger.addFileHandler ("/dev/tty3", log) from rhpl.translate import _, textdomain, addPoPath |