From: Kern Sibbald Date: Sun, 14 Feb 2010 19:19:44 +0000 (+0100) Subject: Fix duplicate job bug X-Git-Tag: Release-5.2.1~1735 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86656854bbb1f234dfc6b44916120e157c33cc89;p=bacula%2Fbacula Fix duplicate job bug --- diff --git a/bacula/src/dird/job.c b/bacula/src/dird/job.c index 3949cf3317..de75ce7591 100644 --- a/bacula/src/dird/job.c +++ b/bacula/src/dird/job.c @@ -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) {