From 0c24416c1305ca979b13547da828715f427b0dc4 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 9 Sep 2005 15:00:36 +0000 Subject: Make sure we have /dev/tty3 before trying to write to it. --- anaconda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anaconda') diff --git a/anaconda b/anaconda index ae71cb7ec..01b4bf065 100755 --- a/anaconda +++ b/anaconda @@ -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 -- cgit