From b088baa65d1f5930819ec27cccbd7791b467d861 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 25 Jan 2016 18:57:33 +0100 Subject: [PATCH] String must be quoted --- root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh b/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh index 269b1a9..3acd658 100644 --- a/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh +++ b/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh @@ -6,7 +6,7 @@ KEY=${2} CRT=${3} CHAIN=${4} -if [ -z $DOM -o -z $KEY -o -z $CRT -o -z $CHAIN ]; then +if [ -z "$DOM" -o -z "$KEY" -o -z "$CRT" -o -z "$CHAIN" ]; then echo "Usage: $0 domain /path/to/key /path/to/cert /path/to/chain" >&2 exit 1 fi