aboutsummaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-02-13 11:20:58 +0100
committerBert Münnich <ber.t@posteo.de>2017-02-13 11:20:58 +0100
commitba4b84a8b1cf537b292ff4679806cfe33330b161 (patch)
treef9dd19b31bf3e79276602b2aa64fb3def5fa2818 /exec
parent5c607ad4951e4313ecfd2bc42087d5550283880c (diff)
Fix missing quote in key-handler from commit 5c607ad
Diffstat (limited to 'exec')
-rw-r--r--exec/key-handler2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/key-handler b/exec/key-handler
index 439ab2e..dd4d1bb 100644
--- a/exec/key-handler
+++ b/exec/key-handler
@@ -18,7 +18,7 @@ readonly TMPFILE="/tmp/sxiv.$$"
rotate() {
degree="$1"
- tr '\n' \0' | xargs -0 realpath | sort | uniq | while read file; do
+ tr '\n' '\0' | xargs -0 realpath | sort | uniq | while read file; do
case "$(file -b -i "$file")" in
image/jpeg*) jpegtran -rotate "$degree" -copy all -outfile "$file" "$file" ;;
*) mogrify -rotate "$degree" "$file" ;;