dont need to preserve environment here

This commit is contained in:
Diego Lendoiro 2018-02-28 18:07:55 +01:00
parent 46199339a5
commit 495a490677
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ gpg_gen_key() {
subkey_length="${PASSBOLT_SUBKEY_LENGTH:-2048}" subkey_length="${PASSBOLT_SUBKEY_LENGTH:-2048}"
expiration="${PASSBOLT_KEY_EXPIRATION:-0}" expiration="${PASSBOLT_KEY_EXPIRATION:-0}"
su -m -c "gpg --batch --no-tty --gen-key <<EOF su -c "gpg --batch --no-tty --gen-key <<EOF
Key-Type: default Key-Type: default
Key-Length: $key_length Key-Length: $key_length
Subkey-Type: default Subkey-Type: default