about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-19 00:10:56 +0600
committerNRK <nrk@disroot.org>2021-09-19 00:10:56 +0600
commitd1b803cdf3657e7bfa11f2aa102db8b565ff1f98 (patch)
treea382f2a629d36ffcb34180d3b82f327125b791e6
parent8e4d2d396b9876c240c3a4d7a82296a57a358706 (diff)
downloadranger-d1b803cdf3657e7bfa11f2aa102db8b565ff1f98.tar.gz
-print explicitly for posix compliance
-rwxr-xr-xexamples/rifle_sxiv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index 45a13f28..6c1685be 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -14,7 +14,7 @@
 tmp="/tmp/sxiv_rifle_$$"
 
 listfiles () {
-    find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f |
+    find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f -print |
       grep -iE '\.(jpe?g|png|gif|webp|tiff|bmp)$' |
       sort | tee "$tmp"
 }