mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-29 13:21:53 +02:00
replace echo with printf
This commit is contained in:
@@ -320,7 +320,7 @@ fi
|
||||
|
||||
# Generate certificates for all domains found in domains.txt. Check if existing certificate are about to expire
|
||||
<"${DOMAINS_TXT}" sed 's/^\s*//g;s/\s*$//g' | grep -v '^#' | grep -v '^$' | while read -r line; do
|
||||
domain="$(echo "${line}" | cut -d' ' -f1)"
|
||||
domain="$(printf '%s\n' "${line}" | cut -d' ' -f1)"
|
||||
cert="${BASEDIR}/certs/${domain}/cert.pem"
|
||||
|
||||
echo "Processing ${domain}"
|
||||
|
||||
Reference in New Issue
Block a user