aboutsummaryrefslogtreecommitdiff
path: root/handlers/mysql.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-04-25 18:55:58 +0200
committerintrigeri <intrigeri@boum.org>2011-04-25 18:55:58 +0200
commit6aca9c822b640372b0fad24d2a3a288ef2cd6a0f (patch)
tree3ee69280b1f12fc64859ba029a97db1fb913e42f /handlers/mysql.in
parent2392094a242248f702ebfcb4644f623d2d3aedde (diff)
downloadbackupninja-6aca9c822b640372b0fad24d2a3a288ef2cd6a0f.tar.gz
backupninja-6aca9c822b640372b0fad24d2a3a288ef2cd6a0f.tar.bz2
All handlers: stop using "local VAR" outside functions. (Closes: #530647)
Diffstat (limited to 'handlers/mysql.in')
-rw-r--r--handlers/mysql.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/mysql.in b/handlers/mysql.in
index 05ea396..185a98a 100644
--- a/handlers/mysql.in
+++ b/handlers/mysql.in
@@ -24,8 +24,8 @@ getconf configfile /etc/mysql/debian.cnf
# Decide if the handler should operate on a vserver or on the host.
# In the former case, check that $vsname exists and is running.
-local usevserver=no
-local vroot
+usevserver=no
+vroot=''
if [ $vservers_are_available = yes ]; then
if [ -n "$vsname" ]; then
# does it exist ?