Extraneous \n's in dbg(), info(), err()
Can these be removed? syslog() already appends a newline. Having one in the message just causes duplication.
Thanks.
Quoted 2 lines · Philip A. Prindeville
Can these be removed? syslog() already appends a newline. Having one in the message just causes duplication.
Syslog usually takes care of that not to put out two newlines:
syslog(3) "A trailing newline may be added if needed."
What syslog is that? It may just need to be fixed.
Kay
Quoted 7 lines · Kay Sievers
Quoted 3 lines · Philip A. Prindeville
Can these be removed?
syslog()already appends a newline. Having one in the message just causes duplication.
Quoted 7 lines
Syslog usually takes care of that not to put out two newlines:
syslog(3) "A trailing newline may be added if needed."What syslog is that? It may just need to be fixed.
Kay
It's the syslog that comes in busybox-1.12.4.