add a bit sleep after gpg key import

This commit is contained in:
rootzoll 2018-08-28 12:25:28 +02:00
parent f570d8e0f2
commit 526991f19e

View File

@ -219,6 +219,7 @@ if [ ${fingerprint} -lt 1 ]; then
exit 1
fi
gpg --import ./pgp_keys.asc
sleep 2
verifyResult=$(gpg --verify manifest-v${lndVersion}.txt.sig manifest-v${lndVersion}.txt 2>&1)
goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c)
echo "goodSignature(${goodSignature})"