Return if key exists
This commit is contained in:
parent
88ef1e1190
commit
1ec7f9041f
|
@ -6328,7 +6328,7 @@ function configure_backup_key {
|
|||
apt-get -y install gnupg
|
||||
|
||||
BACKUP_KEY_EXISTS=$(su -c "gpg --list-keys \"$MY_EMAIL_ADDRESS (backup key)\"" - $MY_USERNAME)
|
||||
if [ ! "$?" = "0" ]; then
|
||||
if [ "$?" = "0" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue