aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-11-12 13:25:50 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2018-11-12 13:25:50 -0800
commit09709661f46c31d96506f419446ae6211eb5380f (patch)
treec64aeb17559b3b6841da92db2343ae2c55b6e7f6
parentdev-timeline: Update for new JSON output (diff)
downloadqa-scripts-09709661f46c31d96506f419446ae6211eb5380f.tar.gz
qa-scripts-09709661f46c31d96506f419446ae6211eb5380f.tar.bz2
qa-scripts-09709661f46c31d96506f419446ae6211eb5380f.zip
create-dev-keyrings: always export
If fetching any changes fails, then the export phase does not run. If there are multiple unrelated key changes, any one of them can be held up by missing on the keyserver. Always run the export, so that we get at least some of the changes out. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xcreate-dev-keyrings.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-dev-keyrings.bash b/create-dev-keyrings.bash
index 0afe352..9bc2fde 100755
--- a/create-dev-keyrings.bash
+++ b/create-dev-keyrings.bash
@@ -37,7 +37,7 @@ grab_keys() {
if [[ $(( retries++ )) -gt 3 ]]; then
echo "Unable to fetch the following keys:"
printf '%s\n' "${missing[@]}"
- exit 1
+ exit 0 # if we exit non-zero, the entire export will fail
fi
sleep 5
fi