mysql: Warn when vsname is set but vserver support is disabled in backupninja.conf.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 1 Jan 2009 12:42:07 +0000 (13:42 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 1 Jan 2009 12:42:07 +0000 (13:42 +0100)
handlers/mysql.in

index c80a36a3d95881ba0aa8b4f8ba5fd20ec3efce05..d22ef26c99d4cd926bffd3c7f32297664f08702f 100644 (file)
@@ -40,6 +40,8 @@ if [ $vservers_are_available = yes ]; then
    else
       info "No vserver name specified, actions will be performed on the host."
    fi
+else
+   [ -z "$vsname" ] || warning 'vservers support disabled in backupninja.conf, vsname configuration line will be ignored'
 fi
 
 ## Prepare ignore part of the command