diff --git a/letsencrypt.sh b/letsencrypt.sh index 52ba5cb..14d42ca 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -16,6 +16,7 @@ BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # If exists load config from same directory as this script if [[ -e "${BASEDIR}/config.sh" ]]; then + # shellcheck disable=SC1090 . "${BASEDIR}/config.sh" fi @@ -53,7 +54,7 @@ hex2bin() { done # Convert to binary data - printf "${escapedhex}" + printf -- "${escapedhex}" } _request() { @@ -221,7 +222,7 @@ fi # Generate certificates for all domains found in domain.txt. Check if existing certificate are about to expire