commit ba454e41f67d22e0baa4388e130d9e0c03813bc3
parent a80a3189458a86f29f61d980b4ad977594199864
Author: Axel Tripier <axel@tripier.fr>
Date: Fri, 2 Jul 2021 18:56:38 +0200
Add missing local variable declaration
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/password-store.sh b/src/password-store.sh
@@ -70,6 +70,7 @@ verify_file() {
set_gpg_recipients() {
GPG_RECIPIENT_ARGS=( )
GPG_RECIPIENTS=( )
+ local gpg_id
if [[ -n $PASSWORD_STORE_KEY ]]; then
for gpg_id in $PASSWORD_STORE_KEY; do
@@ -98,7 +99,6 @@ set_gpg_recipients() {
verify_file "$current"
- local gpg_id
while read -r gpg_id; do
gpg_id="${gpg_id%%#*}" # strip comment
[[ -n $gpg_id ]] || continue