]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix #2853 About character substitution for "virtual full" job level in RunAfterJob
authorEric Bollengier <eric@baculasystems.com>
Tue, 27 Jun 2017 09:25:02 +0000 (11:25 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 27 Jun 2017 16:35:30 +0000 (18:35 +0200)
bacula/src/dird/vbackup.c

index 7cd276a40d8e167e88480c85b43eda8b896f7327..278d96f9351236624fd889af642c4b7582a61f55 100644 (file)
@@ -376,8 +376,7 @@ void vbackup_cleanup(JCR *jcr, int TermCode)
    Dmsg2(100, "Enter vbackup_cleanup %d %c\n", TermCode, TermCode);
    memset(&cr, 0, sizeof(cr));
 
-   jcr->setJobLevel(L_FULL);         /* we want this to appear as a Full backup */
-   jcr->jr.JobLevel = L_FULL;         /* we want this to appear as a Full backup */
+   jcr->jr.JobLevel = L_FULL;   /* we want this to appear as a Full backup */
    jcr->JobFiles = jcr->SDJobFiles;
    jcr->JobBytes = jcr->SDJobBytes;
    update_job_end(jcr, TermCode);