From: Kern Sibbald Date: Sun, 14 Feb 2010 19:19:44 +0000 (+0100) Subject: Fix duplicate job bug X-Git-Tag: Release-5.0.1~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0da1f22e0f03196a0d8068f280550a2ec3ae7a35;p=bacula%2Fbacula Fix duplicate job bug --- 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) {