aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/tar2sqfs/src/process_tarball.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/tar2sqfs/src/process_tarball.c b/bin/tar2sqfs/src/process_tarball.c
index fa1181f..a4d5500 100644
--- a/bin/tar2sqfs/src/process_tarball.c
+++ b/bin/tar2sqfs/src/process_tarball.c
@@ -35,11 +35,7 @@ static int write_file(istream_t *input_file, sqfs_writer_t *sqfs,
ostream_flush(out);
sqfs_drop(out);
sqfs_drop(in);
-
- if (ret)
- return -1;
-
- return skip_padding(input_file, hdr->record_size);
+ return ret;
}
static int copy_xattr(sqfs_writer_t *sqfs, tree_node_t *node,