1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Change 'function' style (#3364)

This commit is contained in:
Casper
2023-05-26 01:01:41 +02:00
committed by GitHub
parent cf74127f78
commit 37ca0f9ba9
60 changed files with 233 additions and 466 deletions

View File

@ -3,14 +3,12 @@
# shellcheck source=../scripts/helpers/index.sh
source /usr/local/bin/helpers/index.sh
function _main
{
function _main() {
local DATABASE_VIRTUAL='/tmp/docker-mailserver/postfix-virtual.cf'
_list_entries "${DATABASE_VIRTUAL}"
}
function _list_entries
{
function _list_entries() {
local DATABASE=${1}
_db_should_exist_with_content "${DATABASE}"