Index: cronie-1.4.7/src/do_command.c =================================================================== --- cronie-1.4.7.orig/src/do_command.c +++ cronie-1.4.7/src/do_command.c @@ -480,7 +480,6 @@ static int child_process(entry * e, user bytes++; if (mail) putc(ch, mail); - } #if defined(SYSLOG) if (SyslogOutput) { logbuf[bufidx++] = ch; @@ -494,6 +493,7 @@ static int child_process(entry * e, user } } #endif + } /* only close pipe if we opened it -- i.e., we're * mailing...