projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
02d4539
)
sys: Warn when vsnames is set but vserver support is disabled in backupninja.conf.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 1 Jan 2009 12:40:42 +0000
(13:40 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 1 Jan 2009 12:40:42 +0000
(13:40 +0100)
handlers/sys.in
patch
|
blob
|
history
diff --git
a/handlers/sys.in
b/handlers/sys.in
index f293840157b323004092ffac8db97309a272ddb7..5f3447b866472ee6b8c74da3416ee19e837d29f0 100755
(executable)
--- 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
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 ##############################
fi
## PACKAGES ##############################