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 ab07cd4..7dcd537 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -70,7 +70,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
}