From 80a78f7d49df3d12a29755fbd66f6c3953183107 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 1 Jan 2016 12:30:44 +0100 Subject: [PATCH] Add info message of #jobs consolidated in Virtual Full --- bacula/src/dird/vbackup.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/bacula/src/dird/vbackup.c b/bacula/src/dird/vbackup.c index a965a356c2..224fd65a9f 100644 --- a/bacula/src/dird/vbackup.c +++ b/bacula/src/dird/vbackup.c @@ -576,15 +576,9 @@ static bool create_bootstrap_file(JCR *jcr, char *jobids) complete_bsr(ua, rx.bsr); jcr->ExpectedFiles = write_bsr_file(ua, rx); - if (chk_dbglvl(10)) { - Pmsg1(000, "Found %d files to consolidate.\n", jcr->ExpectedFiles); - } - if (jcr->ExpectedFiles == 0) { - free_ua_context(ua); - free_bsr(rx.bsr); - return false; - } + Jmsg(jcr, M_INFO, 0, _("Found %d files to consolidate into Virtual Full.\n"), + jcr->ExpectedFiles); free_ua_context(ua); free_bsr(rx.bsr); - return true; + return jcr->ExpectedFiles==0?false:true; } -- 2.39.5