diff options
author | intrigeri <intrigeri@boum.org> | 2006-02-02 20:28:28 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2006-02-02 20:28:28 +0000 |
commit | 1f21ab1f9d87fdf363552764fc538ceb34c4105e (patch) | |
tree | ab34ebee252b271f955a38324845f248b3f5bd3b /handlers/pgsql | |
parent | cd19017bd62f651776f6fba7026986fd730fcb2c (diff) | |
download | backupninja-1f21ab1f9d87fdf363552764fc538ceb34c4105e.tar.gz backupninja-1f21ab1f9d87fdf363552764fc538ceb34c4105e.tar.bz2 |
mysql, pgsql and svn handlers: fixed inversed vsname emptyness test
Diffstat (limited to 'handlers/pgsql')
-rw-r--r-- | handlers/pgsql | 2 |
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." |