mirror of
https://github.com/tomav/docker-mailserver
synced 2025-09-01 14:55:16 +00:00
style: minor adjustments (#2786)
Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
@@ -16,9 +16,7 @@ function _get_valid_lines_from_file
|
||||
# and it will return its value stored in /etc/dms-settings
|
||||
function _get_dms_env_value
|
||||
{
|
||||
local VALUE
|
||||
VALUE=$(grep "^${1}=" /etc/dms-settings | cut -d '=' -f 2)
|
||||
printf '%s' "${VALUE:1:-1}"
|
||||
grep "^${1}=" /etc/dms-settings | cut -d "'" -f 2
|
||||
}
|
||||
|
||||
# TODO: `chown -R 5000:5000 /var/mail` has existed since the projects first commit.
|
||||
|
Reference in New Issue
Block a user