HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
Signed-off-by: Stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 0438fdc0f6
)
This commit is contained in:
parent
fe689bf1d4
commit
a386c6cdda
|
@ -78,6 +78,12 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function cleanup {
|
function cleanup {
|
||||||
|
if [ -n "${keys}" ]; then
|
||||||
|
echo "Stopping gpg agent daemon"
|
||||||
|
gpgconf --homedir "${working_dir}/.gpg" --kill gpg-agent
|
||||||
|
echo "Stopped gpg agent daemon"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "true" = "${cleanup}" ]; then
|
if [ "true" = "${cleanup}" ]; then
|
||||||
echo "cleaning up temp space."
|
echo "cleaning up temp space."
|
||||||
rm -rf "${working_dir}"
|
rm -rf "${working_dir}"
|
||||||
|
|
Loading…
Reference in New Issue