aboutsummaryrefslogtreecommitdiff
path: root/unpack/rdsquashfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'unpack/rdsquashfs.c')
-rw-r--r--unpack/rdsquashfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unpack/rdsquashfs.c b/unpack/rdsquashfs.c
index 2162cc4..dc43fcd 100644
--- a/unpack/rdsquashfs.c
+++ b/unpack/rdsquashfs.c
@@ -119,7 +119,8 @@ int main(int argc, char **argv)
goto out_fs;
break;
case OP_DESCRIBE:
- describe_tree(fs.root, opt.unpack_root);
+ if (describe_tree(fs.root, opt.unpack_root))
+ goto out_fs;
break;
case OP_RDATTR:
if (n->xattr != NULL)