diff options
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/mysql | 2 | ||||
-rw-r--r-- | handlers/pgsql | 2 | ||||
-rw-r--r-- | handlers/svn | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/handlers/mysql b/handlers/mysql index 0ff9884..ebde4ab 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -24,7 +24,7 @@ getconf configfile /etc/mysql/debian.cnf 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." 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." diff --git a/handlers/svn b/handlers/svn index d43b489..377d71c 100644 --- a/handlers/svn +++ b/handlers/svn @@ -16,7 +16,7 @@ error=0 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." |