Fixes #751 check-config output duplication

This commit is contained in:
cytopia 2020-11-17 12:51:15 +01:00
parent b8055a175b
commit f348fa7814
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -193,10 +193,6 @@ if [ "${DEVILBOX_PATH_PERM}" != "${MY_GID}" ]; then
WRONG_ENV_FILES_VALUES=1
fi
if [ "${WRONG_ENV_FILES_VALUES}" = "0" ]; then
log_ok "All .env file variables have correct values"
fi
HOST_PATH_HTTPD_DATADIR="$( get_path "$( grep -E '^HOST_PATH_HTTPD_DATADIR=' .env | awk -F'=' '{print $2}' )" )"
if [ ! -d "${HOST_PATH_HTTPD_DATADIR}" ]; then
log_err "Variable 'HOST_PATH_HTTPD_DATADIR' directory does not exist: ${HOST_PATH_HTTPD_DATADIR}"