mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #1460 from drwetter/drwetter-patch-1
add also here -z
This commit is contained in:
commit
155824214b
@ -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