]> git.sur5r.net Git - bacula/bacula/commitdiff
Display PrefixLinks in "show job" output
authorEric Bollengier <eric@baculasystems.com>
Wed, 20 Jul 2016 09:46:59 +0000 (11:46 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 20 Sep 2016 15:04:52 +0000 (17:04 +0200)
bacula/src/dird/dird_conf.c

index 3a4b381f996ac434d1d1f87ffab9eac9589f06d2..64a1b407753435d82495d23b3112ade86af52c63 100644 (file)
@@ -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);