aboutsummaryrefslogtreecommitdiff
path: root/handlers/pgsql.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/pgsql.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/pgsql.in')
-rw-r--r--handlers/pgsql.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/pgsql.in b/handlers/pgsql.in
index ff71ebc..a50d3c7 100644
--- a/handlers/pgsql.in
+++ b/handlers/pgsql.in
@@ -15,8 +15,8 @@ localhost=`hostname`
# 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 ?