No quotes

This commit is contained in:
Bob Mottram 2015-09-20 18:30:23 +01:00
parent 9cbf25aec9
commit 11cfc09b05
1 changed files with 2 additions and 2 deletions

View File

@ -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