diff options
author | hut <hut@lavabit.com> | 2013-02-05 00:09:51 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-05 00:09:51 +0100 |
commit | 0058e46fa484e8359c4c0599eb7f3de132d6f88e (patch) | |
tree | 29741c87a398bbddc1c081c0d84f5d33475fb8a6 /ranger | |
parent | 4ffc9391f5f389b94248ed20d22839550d26cb12 (diff) | |
download | ranger-0058e46fa484e8359c4c0599eb7f3de132d6f88e.tar.gz |
data/scope.sh: shorten previous commit
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 7051b7da..6b89049a 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -45,8 +45,7 @@ case "$extension" in exit 1;; rar) unrar -p- lt "$path" | head -n $maxln - success && exit 0; - exit 1;; + success && exit 0 || exit 1;; # PDF documents: pdf) pdftotext -l 10 -nopgbrk -q "$path" - | head -n $maxln | fmt -s -w $width |