CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/07/20 12:39:16
Modified files:
usr.bin/newsyslog: newsyslog.8 newsyslog.c
Log message:
Don't exit on invalid config lines, yet return a proper exit status.
newsyslog(8) is mainly used to proces log files, not rotating them
because of an invalid field means that /var will end up full.
Initially I wanted to ignore only getpwnam/getgrnam errors, but millert@
convinced me otherwise. malloc(3) errors are still fatal.
Diff prompted by a report from Harald Dunkel, ok millert@