From: Matthijs Kooijman Date: Thu, 1 Jan 2009 12:42:07 +0000 (+0100) Subject: mysql: Warn when vsname is set but vserver support is disabled in backupninja.conf. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=e8db349a5b2af6ffb9004ef6eed9cb9d3aa57231 mysql: Warn when vsname is set but vserver support is disabled in backupninja.conf. --- diff --git a/handlers/mysql.in b/handlers/mysql.in index c80a36a..d22ef26 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -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