From e8db349a5b2af6ffb9004ef6eed9cb9d3aa57231 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 1 Jan 2009 13:42:07 +0100 Subject: [PATCH] mysql: Warn when vsname is set but vserver support is disabled in backupninja.conf. --- handlers/mysql.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2