summaryrefslogtreecommitdiffstats
path: root/syslogd.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-13 19:58:48 +0000
committerMatt Wilson <msw@redhat.com>2001-07-13 19:58:48 +0000
commit08bdf5b8d78ee9d235b64179f79094a1c297c451 (patch)
treea7206357171dcbe7f2ae0066dedb04bc1341da5b /syslogd.py
parent73cfe375e3422d1408ef317b34ca7842151ee6dd (diff)
downloadanaconda-08bdf5b8d78ee9d235b64179f79094a1c297c451.tar.gz
anaconda-08bdf5b8d78ee9d235b64179f79094a1c297c451.tar.xz
anaconda-08bdf5b8d78ee9d235b64179f79094a1c297c451.zip
make syslog replace NULLs (EOM) with \n (part of #47748)
Diffstat (limited to 'syslogd.py')
-rw-r--r--syslogd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/syslogd.py b/syslogd.py
index 5a0ce788f..69e7dbc3f 100644
--- a/syslogd.py
+++ b/syslogd.py
@@ -43,6 +43,7 @@ class Syslogd:
for fd in list:
msg = fd.recv(50)
+ msg = string.replace(foo, chr(0), "\n")
if (msg):
output.write(msg)
else: