mirror of https://github.com/mirror/busybox.git
don't out \r to syslog
parent
bee9eb1a9d
commit
8e1bd4a05b
|
@ -225,7 +225,7 @@ static void message(int device, const char *fmt, ...)
|
||||||
if (device & LOG) {
|
if (device & LOG) {
|
||||||
/* don`t out "\r\n" */
|
/* don`t out "\r\n" */
|
||||||
openlog(bb_applet_name, 0, LOG_DAEMON);
|
openlog(bb_applet_name, 0, LOG_DAEMON);
|
||||||
syslog(LOG_INFO, "%s", msg);
|
syslog(LOG_INFO, "%s", msg + 1);
|
||||||
closelog();
|
closelog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue