git-svn-id: http://code.autistici.org/svn/backupninja/trunk@364
758a04ac-41e6-0310-8a23-
8373a73cc35d
version 0.9.4 -- unreleased
+ handler changes
+ mysql, pgsql, svn: fixed inversed vsname emptyness check
lib changes
vserver:
. init_vservers: fixed Debian bug #351083 (improper readlink syntax)
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."
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."
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."