From 0686fda77175dbfc4e19cc2949dc51578efddaf2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 15 Feb 2010 21:23:35 +0100 Subject: [PATCH] Apply fix to previous fix of Copy problem. Fix proposed by reporter of bug #1476 --- bacula/src/dird/migrate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bacula/src/dird/migrate.c b/bacula/src/dird/migrate.c index 875386102d..fa64f60835 100644 --- a/bacula/src/dird/migrate.c +++ b/bacula/src/dird/migrate.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2004-2009 Free Software Foundation Europe e.V. + Copyright (C) 2004-201009 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -41,7 +41,6 @@ * to do the backup. * When the Storage daemon finishes the job, update the DB. * - * Version $Id$ */ #include "bacula.h" @@ -318,7 +317,7 @@ bool do_migration(JCR *jcr) } /* Make sure this job was not already migrated */ if (jcr->previous_jr.JobType != JT_BACKUP && - jcr->previous_jr.JobType != JT_COPY) { + jcr->previous_jr.JobType != JT_JOB_COPY) { Jmsg(jcr, M_INFO, 0, _("JobId %s already %s probably by another Job. %s stopped.\n"), edit_int64(jcr->previous_jr.JobId, ed1), jcr->get_ActionName(1), -- 2.39.5