aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index ddbbd9b..6af3e77 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -63,7 +63,7 @@ has_qrencode() {
# get all password files and create an array
list_passwords() {
cd "${root}" || exit
- pw_list=(**/*.gpg)
+ pw_list=($(find -L * -name "*.gpg"))
printf '%s\n' "${pw_list[@]%.gpg}" | sort -n
}