]> git.pld-linux.org Git - packages/fcron.git/commitdiff
- new
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 8 Jan 2005 16:26:36 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fcron-mail_output_only_if_there_is_output.patch -> 1.1

fcron-mail_output_only_if_there_is_output.patch [new file with mode: 0644]

diff --git a/fcron-mail_output_only_if_there_is_output.patch b/fcron-mail_output_only_if_there_is_output.patch
new file mode 100644 (file)
index 0000000..c4ef9a6
--- /dev/null
@@ -0,0 +1,13 @@
+diff -urN fcron-2.9.5.1.org/job.c fcron-2.9.5.1/job.c
+--- fcron-2.9.5.1.org/job.c    2004-11-14 17:32:36.000000000 +0100
++++ fcron-2.9.5.1/job.c        2005-01-08 17:22:20.926898760 +0100
+@@ -463,8 +463,7 @@
+     if ( mailf != NULL &&
+        (is_mailzerolength(line->cl_option) || 
+         ( ( is_mail(line->cl_option) &&
+-            ( (fseek(mailf, 0, SEEK_END) == 0 && ftell(mailf) > mailpos) ||
+-              ! (WIFEXITED(status) && WEXITSTATUS(status) == 0) ) ) ) ) )
++            ( (fseek(mailf, 0, SEEK_END) == 0 && ftell(mailf) > mailpos) ) ) ) ) )
+       /* an output exit : we will mail it */
+       mail_output = 1;
+     else
This page took 0.0957789999999999 seconds and 4 git commands to generate.