From: Eric Bollengier Date: Wed, 20 Jul 2016 09:46:59 +0000 (+0200) Subject: Display PrefixLinks in "show job" output X-Git-Tag: Release-7.4.4~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6103a848bcbab0ba85e5def2f40ee12d3cdc127;p=bacula%2Fbacula Display PrefixLinks in "show job" output --- diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 3a4b381f99..64a1b40775 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -713,6 +713,9 @@ void dump_resource(int type, RES *ares, void sendit(void *sock, const char *fmt, if (res->res_job.JobType == JT_MIGRATE || res->res_job.JobType == JT_COPY) { sendit(sock, _(" SelectionType=%d\n"), res->res_job.selection_type); } + if (res->res_job.JobType == JT_RESTORE) { + sendit(sock, _(" PrefixLinks=%d\n"), res->res_job.PrefixLinks); + } if (res->res_job.client) { sendit(sock, _(" --> ")); dump_resource(-R_CLIENT, (RES *)res->res_job.client, sendit, sock);