]> git.sur5r.net Git - bacula/bacula/commitdiff
migrate
authorKern Sibbald <kern@sibbald.com>
Mon, 17 Apr 2006 07:38:04 +0000 (07:38 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 17 Apr 2006 07:38:04 +0000 (07:38 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2932 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/migrate.c

index 65ebb0b7f8cfd375cd35fb2d32897f73b3050a05..c5ea91d0f623b7b8675d8e938d0997e0ae539294 100644 (file)
@@ -702,7 +702,7 @@ void migration_cleanup(JCR *jcr, int TermCode)
    update_job_end_record(jcr);        /* update database */
 
    /* Check if we actually did something */
-   if (!prev_jcr) {
+   if (prev_jcr) {
       prev_jcr->JobFiles = jcr->JobFiles = jcr->SDJobFiles;
       prev_jcr->JobBytes = jcr->JobBytes = jcr->SDJobBytes;
       prev_jcr->VolSessionId = jcr->VolSessionId;