Fis minor error in check_zombies_php-cgi.sh

This commit is contained in:
Christoph 2017-03-08 00:58:52 +01:00
parent 8c8f482066
commit e52c41b57b

View File

@ -75,7 +75,7 @@ if [ -z "`which realpath`" ]; then
fatal 'It seems "realpath" is not installed, but needed!'
fi
php_cgi=$(realpath $(which php-cgi)) > /dev/null 2>&1
php_cgi=$(realpath $(which php-cgi) 2>/dev/null ) > /dev/null 2>&1
if [[ -z "$php_cgi" ]]; then
if [[ -x "/usr/local/php/bin/php-cgi" ]]; then