diff options
| author | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-10 19:35:24 -0500 | 
|---|---|---|
| committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-10 19:35:24 -0500 | 
| commit | b35e03b6b1acc841ac33f601dd39c1152523621e (patch) | |
| tree | a59ec91923aa8417c22bfca7a8462bf7011e3965 /src | |
| parent | 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf (diff) | |
| download | openrc-b35e03b6b1acc841ac33f601dd39c1152523621e.tar.xz | |
Revert "Logger: only log printable characters and newlines"
This reverts commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf.
This seems to create issues shutting down, so I need to look into it
further.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rc/rc-logger.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index 1da3f59c..062ce3d9 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -87,9 +87,8 @@ write_log(int logfd, const char *buffer, size_t bytes)  		}  		if (!in_escape) { -			if (isprint((unsigned char) *p) || *p == '\n') -				if (write(logfd, p++, 1) == -1) -					eerror("write: %s", strerror(errno)); +			if (write(logfd, p++, 1) == -1) +				eerror("write: %s", strerror(errno));  			continue;  		} | 
