mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-24 17:58:58 +02:00
Rename function and adjust comment (#2306)
This commit is contained in:
parent
babae05d4a
commit
a8a39a0a1a
2 changed files with 3 additions and 3 deletions
|
@ -316,8 +316,8 @@ function _obtain_hostname_and_domainname
|
|||
DOMAINNAME="${DOMAINNAME:-${HOSTNAME}}"
|
||||
}
|
||||
|
||||
# Remove string input with empty line, only whitespace or `#` as the first non-whitespace character.
|
||||
function _strip_comments
|
||||
# Check if string input is an empty line, only whitespaces or `#` as the first non-whitespace character.
|
||||
function _is_comment
|
||||
{
|
||||
grep -q -E "^\s*$|^\s*#" <<< "${1}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue