commit: d51605cc9b7070cd294989022fedc4ddc4faafb8 Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Mon Oct 10 19:53:01 2022 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Mon Oct 10 19:53:01 2022 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d51605cc
keyrings.inc.bash: gpgconf --kill all on cleanup Signed-off-by: John Helmert III <ajak <AT> gentoo.org> keyrings.inc.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyrings.inc.bash b/keyrings.inc.bash index 9c2a23b..58881ae 100644 --- a/keyrings.inc.bash +++ b/keyrings.inc.bash @@ -81,7 +81,7 @@ push_keys() { export GPG_TMPDIR='' clean_tmp() { # Ensure any agent is closed down - gpgconf --kill gpg-agent + gpgconf --kill all [ -n "$GPG_TMPDIR" ] && [ -d "$GPG_TMPDIR" ] && rm -rf "$GPG_TMPDIR" } setup_tmp() {