]> git.pld-linux.org Git - packages/fcron.git/blob - fcron-mail_output_only_if_there_is_output.patch
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/fcron.git] / fcron-mail_output_only_if_there_is_output.patch
1 diff -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.049849 seconds and 3 git commands to generate.