From: Eric Bollengier Date: Fri, 23 Jun 2017 07:30:23 +0000 (+0200) Subject: Fix #2940 Allow specific Director job code in WriteBootstrap directive X-Git-Tag: Release-9.0.0~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1e2a682ea94040438bdcbb98f121976ae73c7937;p=bacula%2Fbacula Fix #2940 Allow specific Director job code in WriteBootstrap directive --- diff --git a/bacula/src/dird/backup.c b/bacula/src/dird/backup.c index 055b60f833..10f301f011 100644 --- a/bacula/src/dird/backup.c +++ b/bacula/src/dird/backup.c @@ -1024,7 +1024,8 @@ void update_bootstrap_file(JCR *jcr) BPIPE *bpipe = NULL; int got_pipe = 0; POOLMEM *fname = get_pool_memory(PM_FNAME); - fname = edit_job_codes(jcr, fname, jcr->job->WriteBootstrap, ""); + fname = edit_job_codes(jcr, fname, jcr->job->WriteBootstrap, "", + job_code_callback_director); VOL_PARAMS *VolParams = NULL; int VolCount;