Skip to content

Commit 89e6a55

Browse files
desultorythesamesam
authored andcommitted
getuto: Fix gpg cleanup by running separate kill commands
gpgconf --kill doesn't seem to work with multiple args for --kill. Closes: #10 Signed-off-by: Zen <[email protected]> Closes: #14 Signed-off-by: Sam James <[email protected]>
1 parent 140037d commit 89e6a55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

getuto

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ else
4646
}
4747
fi
4848

49-
gpgconf --kill gpg-agent dirmngr
49+
gpgconf --kill gpg-agent
50+
gpgconf --kill dirmngr
5051
set -e
5152

5253
mykeyservers=(
@@ -206,4 +207,5 @@ fi
206207
chmod ugo+r "${GNUPGHOME}/trustdb.gpg"
207208

208209
# Clean up.
209-
gpgconf --kill gpg-agent dirmngr
210+
gpgconf --kill gpg-agent
211+
gpgconf --kill dirmngr

0 commit comments

Comments
 (0)