summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/data/scope.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index 8a0f20c4..6a5332ac 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -48,7 +48,7 @@ case "$extension" in
     rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)
 		try als "$path" && { dump | trim; exit 0; }
 		try acat "$path" && { dump | trim; exit 3; }
-		try bsdtar "$path" && { dump | trim; exit 0; }
+		try bsdtar -lf "$path" && { dump | trim; exit 0; }
 		exit 1;;
 	rar)
 		try unrar -p- lt "$path" && { dump | trim; exit 0; } || exit 1;;