diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-07-24 19:35:37 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-07-24 19:35:37 +0200 |
commit | 0a52567c98333fa2e75270d2cea0efc69f62b0a4 (patch) | |
tree | dc3c6138c079084664cfb5edbfd22091de4419e8 /src | |
parent | 068d5f14279fb3816fbc290108d768e3f6eff603 (diff) |
grep: no trailing slash
Diffstat (limited to 'src')
-rwxr-xr-x | src/password-store.sh | 2 |
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() { |