Skip to content

Commit

Permalink
Revert "templates/lxc-download.in: use GPG option --receive-keys inst…
Browse files Browse the repository at this point in the history
…ead of --recv-keys"

This reverts commit 409040e.

Testing of both options show identical behavior but receive-keys does
not exist on older releases, so let's revert this.

Closes #3510

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Aug 7, 2020
1 parent dc9074b commit 459fef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/lxc-download.in
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ gpg_setup() {
success=
for _ in $(seq 3); do
if gpg --keyserver "${DOWNLOAD_KEYSERVER}" ${DOWNLOAD_GPG_PROXY:-} \
--receive-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1; then
--recv-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1; then
success=1
break
fi
Expand Down

0 comments on commit 459fef2

Please sign in to comment.