diff --git a/src/freedombone b/src/freedombone index b64aa7c2..cdbb6102 100755 --- a/src/freedombone +++ b/src/freedombone @@ -2417,7 +2417,7 @@ function get_mariadb_owncloud_admin_password { function backup_directory_to_usb { if [[ $BACKUP_TYPE == 'obnam' ]]; then - BACKUP_KEY_EXISTS=$("gpg --list-keys \"$MY_NAME (backup key)\"") + BACKUP_KEY_EXISTS=$(gpg --list-keys "$MY_NAME (backup key)") if [ ! "$?" = "0" ]; then echo "Backup key could not be found" exit 43382 @@ -3566,7 +3566,7 @@ function create_freedns_updater { function backup_directory_to_friend { if [[ $BACKUP_TYPE == 'obnam' ]]; then - BACKUP_KEY_EXISTS=$("gpg --list-keys \"$MY_NAME (backup key)\"") + BACKUP_KEY_EXISTS=$(gpg --list-keys "$MY_NAME (backup key)") if [ ! "$?" = "0" ]; then echo "Backup key could not be found" exit 43382