diff options
author | Lauri Niskanen <ape@ape3000.com> | 2017-01-18 09:36:12 +0200 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-01-23 19:17:22 +0100 |
commit | 2d97d36745761a792fa4d8c340255d11503468bd (patch) | |
tree | 846ff584a673cd39c22914076d4d3b0043a637da /ranger | |
parent | 9f5c0d631ba08d2583898c82c05cfdad8fd52dd8 (diff) | |
download | ranger-2d97d36745761a792fa4d8c340255d11503468bd.tar.gz |
data/scope.sh: Use `file` as a fallback
Fixes #770
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index a0fb2ec0..9997172a 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -118,4 +118,6 @@ case "$mimetype" in try mediainfo "$path" && { dump | trim | sed 's/ \+:/: /;'; exit 5; } || exit 1;; esac +file -Lb "$path" && exit 5 || exit 1 + exit 1 |