diff --git a/start.letsencrypt.sh b/start.letsencrypt.sh index 031e553..0d4c8be 100755 --- a/start.letsencrypt.sh +++ b/start.letsencrypt.sh @@ -71,7 +71,7 @@ start_letsencrypt() { sh /acme.sh/acme.sh $L_S $EK $EHK --renew --standalone --config-home /acme.sh --keylength 4096 -d $DOMAIN --cert-file /acme.sh/$DOMAIN/cert.pem --key-file /acme.sh/$DOMAIN/key.pem --fullchain-file /acme.sh/$DOMAIN/fullchain.pem >$LOG_FILE 2>&1 VAR=$(echo "'$DOMAIN' is not an issued domain, skipping") - SUCCESS=$(cat $LOG_FILE | |grep -Fi "$VAR") + SUCCESS=$(cat $LOG_FILE | grep -Fi "$VAR") if [ "$SUCCESS" != "" ]; then sh /acme.sh/acme.sh $L_S $EK $EHK --issue --standalone --config-home /acme.sh --keylength 4096 -d $DOMAIN --cert-file /acme.sh/$DOMAIN/cert.pem --key-file /acme.sh/$DOMAIN/key.pem --fullchain-file /acme.sh/$DOMAIN/fullchain.pem >$LOG_FILE 2>&1 fi