From 0a52567c98333fa2e75270d2cea0efc69f62b0a4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 24 Jul 2014 19:35:37 +0200 Subject: grep: no trailing slash --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() { -- cgit v1.2.3