Merge pull request #310 from franciscopaniskaseker/master

find symbolic links too
This commit is contained in:
Mitchell Krog 2019-09-05 16:48:31 +02:00 committed by GitHub
commit 83e87eaada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ check_config() {
find_vhosts() {
local ans=
FILE_LIST=$(find $VHOST_DIR -type f -name "*.$VHOST_EXT")
FILE_LIST=$(find $VHOST_DIR -type f -or -type l -name "*.$VHOST_EXT")
if [ -z "$FILE_LIST" ]; then
find $VHOST_DIR -type f