From: Kern Sibbald Date: Sun, 14 Feb 2010 19:19:44 +0000 (+0100) Subject: Fix duplicate job bug X-Git-Tag: Release-7.0.0~2200 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ec41d5a1966771967e82967942f8c7c2587d941;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) {