blackbox_removeadmin: Disable gpg's confirmation.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user