find symbolic links too

This commit is contained in:
apterix 2019-09-05 11:07:21 -03:00
parent ae43054185
commit b1fa069a72

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