Re: cron: use warn/err or syslog

2015-11-15 Thread Philip Guenther
On Sun, Nov 15, 2015 at 1:25 PM, Todd C. Miller wrote: > On Sun, 15 Nov 2015 09:41:38 -0700, "Todd C. Miller" wrote: > >> This cleans up the remaining uses of stderr and perror() and uses >> warn/err and/or syslog depending on whether stderr is hooked up at >> the time. Also removes closelog() wh

Re: cron: use warn/err or syslog

2015-11-15 Thread Todd C. Miller
On Sun, 15 Nov 2015 09:41:38 -0700, "Todd C. Miller" wrote: > This cleans up the remaining uses of stderr and perror() and uses > warn/err and/or syslog depending on whether stderr is hooked up at > the time. Also removes closelog() which is not needed since we are > headed for exec. Here's the

cron: use warn/err or syslog

2015-11-15 Thread Todd C. Miller
This cleans up the remaining uses of stderr and perror() and uses warn/err and/or syslog depending on whether stderr is hooked up at the time. Also removes closelog() which is not needed since we are headed for exec. - todd Index: usr.sbin/cron/atrun.c ==