Previously, if user specified as the second or subsequent multivolume part
bad file of size *smaller* than tar header size, tar did not complained
anything about this mistake and asked for the same volume again.
---
 src/buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/buffer.c b/src/buffer.c
index 6789907..39c61a2 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1371,7 +1371,7 @@ try_new_volume (void)
 
   header = find_next_block ();
   if (!header)
-    return false;
+    RETURN_BAD_ARCHIVE;
 
   switch (header->header.typeflag)
     {
-- 
1.7.11.7


Reply via email to