OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Todd C. Miller (millertcvs.openbsd.org)
Date: Fri May 25 2007 - 12:50:41 CDT


CVSROOT: /cvs
Module name: src
Changes by: millertcvs.openbsd.org 2007/05/25 11:50:41

Modified files:
        usr.sbin/cron : do_command.c

Log message:
Check fdopen() return value.
Ignore SIG_PIPE when writing to sendmail. This allows cron to still
run jobs when sendmail is missing or broken (a warning will be logged).
Move mailto variable to the same scope as mail and use the mail
variable, not mailto, to test whether we have an open pipe to the mailer.