|
|
|
@ -42,10 +42,11 @@ |
|
|
|
# 2016-10-28 add ability to specify REMOTE_EXTRA in file list (1.12) |
|
|
|
# 2017-01-01 updated checks from shellcheck (1.13) |
|
|
|
# 2017-01-09 correct typo in cleanup (to remove all tmp files) (1.14) |
|
|
|
# 2017-01-12 updated to ignore -r flag if -c is used. (1.15) |
|
|
|
# --------------------------------------------------------------------------- |
|
|
|
|
|
|
|
PROGNAME=${0##*/} |
|
|
|
VERSION="1.14" |
|
|
|
VERSION="1.15" |
|
|
|
|
|
|
|
ORIGCMD="$0 $*" |
|
|
|
UPDATE_LOCATION="https://raw.githubusercontent.com/srvrco/checkssl/master/checkssl" |
|
|
|
@ -267,6 +268,11 @@ if [[ ! $FILEARG && ! $SERVERARG && ! $LOCATIONARG && ! $DOMAINARG ]]; then |
|
|
|
graceful_exit |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ $RENEWARG && $COMMANDARG ]]; then |
|
|
|
# ignore RENEWARG, since commandarg is running the given command for all domains needing renewal |
|
|
|
RENEWARG="" |
|
|
|
fi |
|
|
|
|
|
|
|
# create temporary file for the list of domains, and output |
|
|
|
LIST_OF_DOMAINS=$(mktemp) |
|
|
|
DATA_OUT=$(mktemp) |
|
|
|
|