]> granicus.if.org Git - fcron/commitdiff
take into account dayor/dayand in "from last conf"
authorthib <thib>
Wed, 28 Jun 2000 16:25:28 +0000 (16:25 +0000)
committerthib <thib>
Wed, 28 Jun 2000 16:25:28 +0000 (16:25 +0000)
conf.c

diff --git a/conf.c b/conf.c
index d7081b9595ac99fa2ac6566a13dff398cf1ddefe..c46d427ef42ebc54e4d1b5827ffab2e74044dc4a 100644 (file)
--- a/conf.c
+++ b/conf.c
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: conf.c,v 1.15 2000-06-28 14:00:51 thib Exp $ */
+ /* $Id: conf.c,v 1.16 2000-06-28 16:25:28 thib Exp $ */
 
 #include "fcron.h"
 
@@ -260,7 +260,9 @@ synchronize_file(char *file_name)
                          new_l->cl_timefreq == old_l->cl_timefreq ) ||
                        ( is_td(new_l->cl_option) &&
                          memcmp( &(new_l->cl_mins), &(old_l->cl_mins),
-                                 size)==0 )
+                                 size)==0 &&
+                         is_dayor(new_l->cl_option) == 
+                         is_dayor(old_l->cl_option) )
                        ) ) {
                        
                        if ( new_l->cl_runfreq == old_l->cl_runfreq )