2 This patch fixes bug #1003 where putting the message output from
3 a Verify job into the catalog results in a recursive loop. The problem
4 seems to show up only with postgresql (to be verified).
6 Apply it to version 2.2.5 (or probably any previous 2.2.x version) with
9 ./configure <your-options> not necessary if already configured
10 patch -p0 <2.2.5-verify-loop.patch
16 Index: src/dird/verify.c
17 ===================================================================
18 --- src/dird/verify.c (revision 5814)
19 +++ src/dird/verify.c (working copy)
23 if (!jcr->fn_printed) {
24 - Jmsg(jcr, M_INFO, 0, _("\nThe following files are in the Catalog but not on %s:\n"),
25 + Qmsg(jcr, M_INFO, 0, _("\nThe following files are in the Catalog but not on %s:\n"),
26 jcr->JobLevel == L_VERIFY_VOLUME_TO_CATALOG ? "the Volume(s)" : "disk");
27 jcr->fn_printed = true;
29 - Jmsg(jcr, M_INFO, 0, " %s%s\n", row[0]?row[0]:"", row[1]?row[1]:"");
30 + Qmsg(jcr, M_INFO, 0, " %s%s\n", row[0]?row[0]:"", row[1]?row[1]:"");