diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-28 23:33:22 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-28 23:34:17 +0200 |
commit | 3c219238d9b9d8b600a55a273698c52a5d447d01 (patch) | |
tree | 791ee2e0556ca2b1b1bf3271c685822d5a9ef099 /tar/sqfs2tar.c | |
parent | 95e498a42211836016bff3cddea2204e5de80192 (diff) |
Fix sqfs2tar inversion of xattr flag
If the super block has the no-xattr-flag NOT SET, try to read the
extended attributes.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/sqfs2tar.c')
-rw-r--r-- | tar/sqfs2tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c index af9e9ca..0ca0f72 100644 --- a/tar/sqfs2tar.c +++ b/tar/sqfs2tar.c @@ -432,7 +432,7 @@ int main(int argc, char **argv) goto out_data; } - if (!no_xattr && (super.flags & SQFS_FLAG_NO_XATTRS)) { + if (!no_xattr && !(super.flags & SQFS_FLAG_NO_XATTRS)) { xr = sqfs_xattr_reader_create(file, &super, cmp); if (xr == NULL) { goto out_dr; |