mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
support comments in .cf files
This commit is contained in:
parent
b6bc3bc073
commit
d0f7257333
9 changed files with 27 additions and 19 deletions
|
@ -13,6 +13,6 @@ errex() {
|
|||
# Lock database even though we are only reading
|
||||
(
|
||||
flock -e 200
|
||||
awk -F '|' '{ print $1; }' $DATABASE
|
||||
(grep -v "^\s*$\|^\s*\#" "$DATABASE" || true) | awk -F '|' '{ print $1; }'
|
||||
) 200<$DATABASE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue