blackbox_removeadmin: Disable gpg's confirmation.

This commit is contained in:
tlimoncelli@stackoverflow.com
2017-05-13 11:11:39 -04:00
committed by Tom Limoncelli
parent c2ce39b719
commit 5767f22445

View File

@@ -22,7 +22,7 @@ remove_line "$BB_ADMINS" "$KEYNAME"
# remove the admin key from the pubring
$GPG --no-permission-warning --homedir="$KEYRINGDIR" --delete-key "$KEYNAME"
$GPG --no-permission-warning --homedir="$KEYRINGDIR" --batch --yes --delete-key "$KEYNAME"
pubring_path=$(get_pubring_path)
vcs_add "$pubring_path" "$KEYRINGDIR/trustdb.gpg" "$BB_ADMINS"