mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
add also here -z
This commit is contained in:
parent
71b6305e00
commit
adfa411e24
@ -6,7 +6,7 @@ ID=$(docker run -d -ti $image)
|
|||||||
|
|
||||||
echo $ID
|
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 nginx -V
|
||||||
docker exec -ti $ID mkdir /etc/nginx/ssl
|
docker exec -ti $ID mkdir /etc/nginx/ssl
|
||||||
|
Loading…
Reference in New Issue
Block a user