mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
fix paths in find_binary()
* adds /bin to search paths
This commit is contained in:
parent
8b5af8b7fa
commit
a607f88838
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ check_args() {
|
|||
}
|
||||
|
||||
find_binary() {
|
||||
local x= path= bin=$1 bin_paths='/usr/bin /usr/local/bin /usr/sbin /usr/local/sbin /root/bin /root/.bin'
|
||||
local x= path= bin=$1 bin_paths='/bin /usr/bin /usr/local/bin /usr/sbin /usr/local/sbin /root/bin /root/.bin'
|
||||
|
||||
for x in $bin_paths; do
|
||||
path="$x/$bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue