Merge pull request #1260 from gohdan/find_symlinks

Add symlink support to find
This commit is contained in:
Serghey Rodin 2017-12-28 15:53:24 +02:00 committed by GitHub
commit 0c05448e08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ is_web_alias_new() {
# Prepare web backend
prepare_web_backend() {
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
pool=$(find -L /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
check_result $E_NOTEXIST "php-fpm pool doesn't exist"
fi