m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-07-24 19:35:37 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-07-24 19:35:37 +0200
commit0a52567c98333fa2e75270d2cea0efc69f62b0a4 (patch)
treedc3c6138c079084664cfb5edbfd22091de4419e8
parent068d5f14279fb3816fbc290108d768e3f6eff603 (diff)
grep: no trailing slash
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index e1ec1ff..0481c8a 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -360,7 +360,7 @@ cmd_grep() {
passfile="${passfile##*/}"
printf "\e[94m%s/\e[1m%s\e[0m:\n" "$passfile_dir" "$passfile"
echo "$grepresults"
- done < <(find -L "$PREFIX/" -iname '*.gpg' -print0)
+ done < <(find -L "$PREFIX" -iname '*.gpg' -print0)
}
cmd_insert() {