From 0fa154ca26e1bb3fda257f57318e43e1f33cbb7b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 28 Apr 2010 22:19:28 +0200 Subject: [PATCH] Patch from Martin to avoid error when single tape used --- bacula/src/stored/btape.c | 1 + 1 file changed, 1 insertion(+) 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")); } -- 2.39.5