Skip to content

Commit cfb73bd

Browse files
anupam-gitazubieta
authored andcommitted
Kill gpg-agent after importing keys
#81 (comment)
1 parent 910bbf6 commit cfb73bd

File tree

1 file changed

+3
-1
lines changed
  • appimagebuilder/app_dir/deploy/pacman

1 file changed

+3
-1
lines changed

appimagebuilder/app_dir/deploy/pacman/venv.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _configure_keyring(self):
168168
)
169169
)
170170

171-
self._run_command(
171+
proc_gpgagent = self._run_command(
172172
"{fakeroot} {gpg-agent} --homedir {gpgdir} --daemon",
173173
assert_success=False,
174174
wait_for_completion=False
@@ -179,6 +179,8 @@ def _configure_keyring(self):
179179
f"{' '.join(keyrings)}"
180180
)
181181

182+
proc_gpgagent.terminate()
183+
182184
def _run_command(
183185
self,
184186
command,

0 commit comments

Comments
 (0)