mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
[fix] better alias safe executables detection in addition to #6
This commit is contained in:
parent
eba3d17825
commit
573c9b3123
@ -2,8 +2,8 @@
|
|||||||
#Ramil Valitov ramilvalitov@gmail.com
|
#Ramil Valitov ramilvalitov@gmail.com
|
||||||
#https://github.com/rvalitov/zabbix-php-fpm
|
#https://github.com/rvalitov/zabbix-php-fpm
|
||||||
|
|
||||||
S_FCGI=`which cgi-fcgi`
|
S_FCGI=`type -P cgi-fcgi`
|
||||||
S_GREP=`which grep`
|
S_GREP=`type -P grep`
|
||||||
|
|
||||||
if [[ ! -f $S_FCGI ]]; then
|
if [[ ! -f $S_FCGI ]]; then
|
||||||
echo "Utility 'cgi-fcgi' not found. Please, install it first."
|
echo "Utility 'cgi-fcgi' not found. Please, install it first."
|
||||||
|
Loading…
Reference in New Issue
Block a user