From 219b3e9d0ac216c7f14ad7fd98f97a8dc5f7ad59 Mon Sep 17 00:00:00 2001 From: Lukas Schauer Date: Mon, 7 Dec 2015 11:26:14 +0100 Subject: [PATCH] making shellcheck happy --- letsencrypt.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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