aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Decoodt <cdecoodt@online.net>2019-09-26 14:56:29 +0200
committerClément Decoodt <cdecoodt@online.net>2019-09-26 15:04:38 +0200
commitba854747102924f28e58f617cb6718519710a345 (patch)
treeadeaeaed6da100d50805220fbf652b88154f0ff8
parent16ef007cf66f4035e580bbfd9c437f32c0749122 (diff)
downloadrofi-pass-ba854747102924f28e58f617cb6718519710a345.tar.gz
Follow symlinks while listing keys
-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
}