3
0
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:
Ramil Valitov 2019-11-26 18:15:39 +03:00
parent eba3d17825
commit 573c9b3123
No known key found for this signature in database
GPG Key ID: 645768E8FD0E18C7

View File

@ -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."