mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
fix OR conditions in find_vhosts(), fixes, #313
just "parenthesize" conditions
This commit is contained in:
parent
0264b3828f
commit
bc2765a472
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ check_config() {
|
|||
|
||||
find_vhosts() {
|
||||
local ans=
|
||||
FILE_LIST=$(find $VHOST_DIR -type f -or -type l -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
|
||||
|
|
Loading…
Add table
Reference in a new issue