From: Kern Sibbald Date: Wed, 28 Apr 2010 20:19:28 +0000 (+0200) Subject: Patch from Martin to avoid error when single tape used X-Git-Tag: Release-7.0.0~1854 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0fa154ca26e1bb3fda257f57318e43e1f33cbb7b;p=bacula%2Fbacula Patch from Martin to avoid error when single tape used --- diff --git a/bacula/src/stored/btape.c b/bacula/src/stored/btape.c index 38a8236707..f1757b1d37 100644 --- a/bacula/src/stored/btape.c +++ b/bacula/src/stored/btape.c @@ -2552,6 +2552,7 @@ static bool do_unfill() if (compare_blocks(last_block, block)) { if (simple) { Pmsg0(-1, _("\nThe last block on the tape matches. Test succeeded.\n\n")); + rc = true; } else { Pmsg0(-1, _("\nThe last block of the first tape matches.\n\n")); }