]> 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)
committerKern Sibbald <kern@sibbald.com>
Sun, 14 Feb 2010 19:20:03 +0000 (20:20 +0100)
bacula/src/dird/job.c

index 356ea4181f7e32bdf2123222bc2d457b66479164..ab49fd6383f31cbc94794f4c1424c4102ce27732 100644 (file)
@@ -691,7 +691,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) {