mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 04:49: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
|
||||
|
||||
[[ "$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
|
||||
|
Loading…
Reference in New Issue
Block a user