aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/mysql6
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/mysql b/handlers/mysql
index 13dd62f..a4a1497 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -96,15 +96,15 @@ if [ "$dbusername" != "" -a "$dbpassword" != "" ]; then
# auto generated backupninja mysql conf
[mysql]
user=$dbusername
-password=$dbpassword
+password="$dbpassword"
[mysqldump]
user=$dbusername
-password=$dbpassword
+password="$dbpassword"
[mysqlhotcopy]
user=$dbusername
-password=$dbpassword
+password="$dbpassword"
EOF
umask $oldmask
defaultsfile="--defaults-file=$mycnf"