From adfa411e24878951cd6015663d2824945d2c15d2 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Fri, 17 Jan 2020 15:24:36 +0100 Subject: [PATCH] add also here -z --- utils/docker-nginx.tls13-earlydata.start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/docker-nginx.tls13-earlydata.start.sh b/utils/docker-nginx.tls13-earlydata.start.sh index 3fd8f47..327dac4 100644 --- a/utils/docker-nginx.tls13-earlydata.start.sh +++ b/utils/docker-nginx.tls13-earlydata.start.sh @@ -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