remote dns host management

This commit is contained in:
Serghey Rodin 2013-05-29 12:39:50 +03:00
commit bab24899ea
6 changed files with 299 additions and 2 deletions

View file

@ -87,7 +87,7 @@ check_args() {
# Subsystem checker
is_system_enabled() {
if [ -z "$1" ] || [ "$1" = no ]; then
echo "Error: subsystem disabled"
echo "Error: $2 is disabled in the vesta.conf"
log_event "$E_DISABLED" "$EVENT"
exit $E_DISABLED
fi