summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index a39cdb71..7d0810f1 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -711,7 +711,7 @@ EOF
explain "$(date) - Generated GPG key but could not parse key ID"
else
explain "$(date) - Generated GPG key $GPG_KEY_ID - submitting to keyserver"
- sudo -u jenkins gpg --send-keys $GPG_KEY_ID
+ sudo -H -u jenkins gpg --send-keys $GPG_KEY_ID
fi
fi