aboutsummaryrefslogtreecommitdiff
path: root/handlers/svn.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/svn.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/svn.in')
-rw-r--r--handlers/svn.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/svn.in b/handlers/svn.in
index 5e5531a..bb70eee 100644
--- a/handlers/svn.in
+++ b/handlers/svn.in
@@ -14,8 +14,8 @@ error=0
# 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 ?