mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
changes from tomav#1599 without start-mailserver.sh
included all changes from the work on refactoring all scripts, but excluded one big script to make merging easier; replaced mapfile with read
This commit is contained in:
parent
14aa0cdcc3
commit
bf679a5504
11 changed files with 650 additions and 356 deletions
6
setup.sh
6
setup.sh
|
@ -169,7 +169,7 @@ function _docker_container()
|
|||
fi
|
||||
}
|
||||
|
||||
function main()
|
||||
function _main()
|
||||
{
|
||||
if [[ -n $(command -v docker) ]]
|
||||
then
|
||||
|
@ -180,7 +180,7 @@ function main()
|
|||
_check_root
|
||||
else
|
||||
echo "No supported Container Runtime Interface detected."
|
||||
exit 1
|
||||
exit 10
|
||||
fi
|
||||
|
||||
INFO=$($CRI ps \
|
||||
|
@ -316,5 +316,5 @@ function main()
|
|||
esac
|
||||
}
|
||||
|
||||
main "$@"
|
||||
_main "$@"
|
||||
_unset_vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue