mirror of
https://github.com/bitnami/containers.git
synced 2026-03-02 08:04:33 +08:00
tests: fix container_exec function
This commit is contained in:
@@ -102,7 +102,7 @@ container_inspect() {
|
||||
# $1: name of the container
|
||||
container_exec() {
|
||||
if [ "$(docker ps | grep $CONTAINER_NAME-$1)" ]; then
|
||||
docker exec $CONTAINER_NAME-$1 ${@:2}
|
||||
docker exec $CONTAINER_NAME-$1 "${@:2}"
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user