tags 361716 + patch thanks Here is a patch against debian source package amanda_2.5.0p2-1 file: amanda-2.5.0p2/server-src/amcheck.c
This is untested but the line is included in lates CVS version of the code. The one liner sets "tapebad = 1;" when the "expectind such-and-such-a-tape" error message is printed. By the way there seems to be a new upstream version... 2.5.1 (sept 5th 2006) perhaps I should open a seperate wishlist bug for that though ;-) Alex Owen
--- amcheck.c.orig 2006-03-28 22:10:04.000000000 +0100 +++ amcheck.c 2006-09-15 15:13:18.000000000 +0100 @@ -831,6 +831,7 @@ fprintf(outf, " (expecting "); if(exptape != NULL) fprintf(outf, "tape %s or ", exptape->label); fprintf(outf, "a new tape)\n"); + tapebad = 1; } else { if (overwrite) { char *wrlabel_status;