mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-18 00:29:02 +02:00
fix: correct usage of '_environment_variables_export'
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
f0735fcfb1
commit
ae5e2c5a99
2 changed files with 2 additions and 2 deletions
|
@ -7,6 +7,7 @@ function _early_variables_setup() {
|
|||
_obtain_hostname_and_domainname
|
||||
__environment_variables_backwards_compatibility
|
||||
__environment_variables_general_setup
|
||||
__environment_variables_export
|
||||
}
|
||||
|
||||
# This function handles variables that are deprecated. This allows a
|
||||
|
@ -190,7 +191,7 @@ function _environment_variables_saslauthd() {
|
|||
# This function Writes the contents of the `VARS` map (associative array)
|
||||
# to locations where they can be sourced from (e.g. `/etc/dms-settings`)
|
||||
# or where they can be used by Bash directly (e.g. `/root/.bashrc`).
|
||||
function _environment_variables_export() {
|
||||
function __environment_variables_export() {
|
||||
_log 'debug' "Exporting environment variables now (creating '/etc/dms-settings')"
|
||||
|
||||
: >/root/.bashrc # make DMS variables available in login shells and their subprocesses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue