summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tar-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar-tree.c b/tar-tree.c
index c2eb21c97b..4c47fc2bec 100644
--- a/tar-tree.c
+++ b/tar-tree.c
@@ -77,7 +77,7 @@ static void write_trailer(void)
write_if_needed();
get_record();
write_if_needed();
- if (offset) {
+ while (offset) {
get_record();
write_if_needed();
}