Merge pull request #1460 from drwetter/drwetter-patch-1

add also here -z
This commit is contained in:
Dirk Wetter 2020-01-17 15:26:09 +01:00 committed by GitHub
commit 155824214b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ ID=$(docker run -d -ti $image)
echo $ID
[[ "$ID" ]] && echo "container couldn't be retrieved" >&2 && exit 1
[[ -z "$ID" ]] && echo "container couldn't be retrieved" >&2 && exit 1
docker exec -ti $ID nginx -V
docker exec -ti $ID mkdir /etc/nginx/ssl