From 583c5d5211cf3a3907ccfe38d72c2e8fd79f6840 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 1 Nov 2016 20:29:09 +0000 Subject: [PATCH] Password quotes --- src/freedombone-utils-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-utils-backup b/src/freedombone-utils-backup index 444e9e35..95081a2b 100755 --- a/src/freedombone-utils-backup +++ b/src/freedombone-utils-backup @@ -391,7 +391,7 @@ function backup_database_remote { mkdir -p ${local_database_dir} fi echo "Obtaining ${1} database backup" - mysqldump --password=$DATABASE_PASSWORD ${1} > ${local_database_dir}/${1}.sql + mysqldump --password="$DATABASE_PASSWORD" ${1} > ${local_database_dir}/${1}.sql if [ -f ${local_database_dir}/${1}.sql ]; then if [ ! -s ${local_database_dir}/${1}.sql ]; then echo $"${1} database could not be saved"