No quotes
This commit is contained in:
parent
9cbf25aec9
commit
11cfc09b05
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue