]> git.pld-linux.org Git - packages/fcron.git/blame - fcron-mail_output_only_if_there_is_output.patch
- sync with vixie-cron:
[packages/fcron.git] / fcron-mail_output_only_if_there_is_output.patch
CommitLineData
23dcd9df
AM
1diff -urN fcron-2.9.5.1.org/job.c fcron-2.9.5.1/job.c
2--- fcron-2.9.5.1.org/job.c 2004-11-14 17:32:36.000000000 +0100
3+++ fcron-2.9.5.1/job.c 2005-01-08 17:22:20.926898760 +0100
4@@ -463,8 +463,7 @@
5 if ( mailf != NULL &&
6 (is_mailzerolength(line->cl_option) ||
7 ( ( is_mail(line->cl_option) &&
8- ( (fseek(mailf, 0, SEEK_END) == 0 && ftell(mailf) > mailpos) ||
9- ! (WIFEXITED(status) && WEXITSTATUS(status) == 0) ) ) ) ) )
10+ ( (fseek(mailf, 0, SEEK_END) == 0 && ftell(mailf) > mailpos) ) ) ) ) )
11 /* an output exit : we will mail it */
12 mail_output = 1;
13 else
This page took 0.0385490000000001 seconds and 4 git commands to generate.