aboutsummaryrefslogtreecommitdiff
path: root/handlers/pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/pgsql')
-rw-r--r--handlers/pgsql2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/pgsql b/handlers/pgsql
index 2b6f25a..c7197a8 100644
--- a/handlers/pgsql
+++ b/handlers/pgsql
@@ -15,7 +15,7 @@ localhost=`hostname`
local usevserver=no
local vroot
if [ $vservers_are_available = yes ]; then
- if [ -z "$vsname" ]; then
+ if [ -n "$vsname" ]; then
# does it exist ?
if ! vservers_exist "$vsname" ; then
fatal "The vserver given in vsname ($vsname) does not exist."