pss

git clone https://orangeshoelaces.net/git/pss.git

ba120b9e6f8ef8e9217063aab382f8478d52ada8

Author: Vasilii Kolobkov on 12/10/2018

Committer: Vasilii Kolobkov on 12/10/2018

Duh, pass search term to find_rec function

Stats

pss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/pss b/pss
index b6fdc3d..e74e364 100755
--- a/pss
+++ b/pss
@@ -98,7 +98,7 @@ show_field() {
 	if [ "${1}" = "" ]; then
 		usage
 	fi
-	gpg --decrypt "${secrets}" | find_rec |
+	gpg --decrypt "${secrets}" | find_rec "${1}" |
 	awk -F "${field_separator}" "{print \$${2}}"
 }