]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix duplicate job bug
authorKern Sibbald <kern@sibbald.com>
Sun, 14 Feb 2010 19:19:44 +0000 (20:19 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:31 +0000 (16:49 +0200)
bacula/src/dird/job.c

index 3949cf33177f0e3b3d5966036088b7a8aa6989e5..de75ce7591ce7fe9afd30b03dbbffee524d1f0c4 100644 (file)
@@ -694,7 +694,7 @@ bool allow_duplicate_job(JCR *jcr)
       }
       if (strcmp(job->name(), djcr->job->name()) == 0) {
          bool cancel_dup = false;
-         bool cancel_me = true;
+         bool cancel_me = false;
          if (job->DuplicateJobProximity > 0) {
             utime_t now = (utime_t)time(NULL);
             if ((now - djcr->start_time) > job->DuplicateJobProximity) {