Browse Source

implement the suggested fix in #277

pull/458/head
Yannic Haupenthal 6 years ago
parent
commit
8db7744b3e
No known key found for this signature in database GPG Key ID: 30BEEF01A79FDDD7
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      getssl

+ 2
- 3
getssl View File

@ -234,7 +234,6 @@ SERVER_TYPE="https"
SKIP_HTTP_TOKEN_CHECK="false"
SSLCONF="$(openssl version -d 2>/dev/null| cut -d\" -f2)/openssl.cnf"
OCSP_MUST_STAPLE="false"
IGNORE_PERIOD_CHECK="false"
TEMP_UPGRADE_FILE=""
TOKEN_USER_ID=""
USE_SINGLE_ACL="false"
@ -1831,8 +1830,8 @@ if [[ ${_CHECK_ALL} -eq 1 ]]; then
if [[ ${_QUIET} -eq 1 ]]; then
cmd="$cmd -q"
fi
# check if $dir looks like a domain name (contains a period)
if [[ $(basename "$dir") == *.* || "$IGNORE_PERIOD_CHECK" == "true" ]]; then
# check if $dir is a directory with a getssl.cfg in it
if [[ -f "$dir/getssl.cfg" ]]; then
cmd="$cmd -w $WORKING_DIR $(basename "$dir")"
debug "CMD: $cmd"
eval "$cmd"


Loading…
Cancel
Save