From: Eric Bollengier Date: Tue, 27 Jun 2017 09:25:02 +0000 (+0200) Subject: Fix #2853 About character substitution for "virtual full" job level in RunAfterJob X-Git-Tag: Release-9.0.0~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aafe2af81c5763cb68ab593bf755872f7605fc64;p=bacula%2Fbacula Fix #2853 About character substitution for "virtual full" job level in RunAfterJob --- diff --git a/bacula/src/dird/vbackup.c b/bacula/src/dird/vbackup.c index 7cd276a40d..278d96f935 100644 --- a/bacula/src/dird/vbackup.c +++ b/bacula/src/dird/vbackup.c @@ -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);