From 0da1f22e0f03196a0d8068f280550a2ec3ae7a35 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 14 Feb 2010 20:19:44 +0100 Subject: [PATCH] Fix duplicate job bug --- bacula/src/dird/job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/job.c b/bacula/src/dird/job.c index 356ea4181f..ab49fd6383 100644 --- a/bacula/src/dird/job.c +++ b/bacula/src/dird/job.c @@ -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) { -- 2.39.5