From 24759636cc4b5439fa30eeac5af97e97671dc6be Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 1 Jan 2009 13:40:42 +0100 Subject: [PATCH] sys: Warn when vsnames is set but vserver support is disabled in backupninja.conf. --- handlers/sys.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/handlers/sys.in b/handlers/sys.in index f293840..5f3447b 100755 --- a/handlers/sys.in +++ b/handlers/sys.in @@ -95,6 +95,11 @@ if [ $vservers_are_available = yes ]; then fi info "Using vservers '$vsnames'" usevserver=yes +else + # Get the config value again, but now without a default value + getconf vsnames + [ -z "$vsnames" ] || warning 'vservers support disabled in backupninja.conf, vsnames configuration line will be ignored' + fi ## PACKAGES ############################## -- 2.30.2