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-5.2.1~1389 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e004781e7597d37efb918c31760cec5fe87f5471;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")); }