In create-schema action add a failure message when TENANT_BASE is not defined

This commit is contained in:
Benjamin Dauvergne 2014-09-16 12:07:57 +02:00
parent d1cd660977
commit db95fa5c8d
1 changed files with 1 additions and 0 deletions

1
init.d
View File

@ -196,6 +196,7 @@ case "$1" in
TENANT=$1
log_daemon_msg "Creating tenant" "$TENANT"
if [ "x$TENANT_BASE" == "x" ]; then
log_failure_msg "TENANT_BASE is not set in /etc/default/$NAME"
log_end_msg 1
else
TENANT_DIR="$TENANT_BASE/$TENANT/"