Browse Source

Merge pull request #458 from tohn/dotfolder

Ignore directories when using `getssl -a` if they don't contain a config file
pull/487/head
Tim Kimber 6 years ago
committed by GitHub
parent
commit
e088b99a5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      getssl

+ 2
- 2
getssl View File

@ -1850,8 +1850,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") == *.* ]]; 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