Browse Source

Ignore lines in domainfile starting with hash (#).

pull/10/head
Christian Schrötter 9 years ago
parent
commit
ac4c45791b
No known key found for this signature in database GPG Key ID: 8038DEBE14AD09A4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      checkssl

+ 1
- 1
checkssl View File

@ -277,7 +277,7 @@ fi
# check and inport file if specified on command line
if [ $FILEARG ]; then
if [ -f "$FILE" ]; then
cat "$FILE" >> "$LIST_OF_DOMAINS"
grep -v '^#' "$FILE" >> "$LIST_OF_DOMAINS"
debug "added file $FILE to list of domains"
else
echo "$FILE not found"


Loading…
Cancel
Save