mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
quotes needed to run multi-word command inside container (#921)
This commit is contained in:
parent
a33c1b49ab
commit
e97344cb5c
2
setup.sh
2
setup.sh
|
@ -93,7 +93,7 @@ _docker_image() {
|
||||||
|
|
||||||
_docker_container() {
|
_docker_container() {
|
||||||
if [ -n "$CONTAINER_NAME" ]; then
|
if [ -n "$CONTAINER_NAME" ]; then
|
||||||
docker exec -ti "$CONTAINER_NAME" $@
|
docker exec -ti "$CONTAINER_NAME" "$@"
|
||||||
else
|
else
|
||||||
echo "The docker-mailserver is not running!"
|
echo "The docker-mailserver is not running!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue