Remove unnecessary quotes from command substitutions (#2561)

This commit is contained in:
Casper 2022-05-05 10:28:38 +02:00 committed by GitHub
parent b4c49d272f
commit 628e902233
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 102 additions and 102 deletions

View file

@ -94,7 +94,7 @@ function _check_for_changes
# Prevent an unnecessary change detection from the newly extracted cert files by updating their hashes in advance:
local CERT_DOMAIN
CERT_DOMAIN="$(_find_letsencrypt_domain)"
CERT_DOMAIN=$(_find_letsencrypt_domain)
ACME_CERT_DIR="/etc/letsencrypt/live/${CERT_DOMAIN}"
sed -i "\|${ACME_CERT_DIR}|d" "${CHKSUM_FILE}.new"