# If vservers are configured, decide if the handler should
# use them or if it should just operate on the host
-if [ "$VSERVERS" = "yes" ]
+if [ "$vservers" = "yes" ]
then
if [ ! -z $vsname ]
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"