mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
[fix] run PHP directory ending slash
This commit is contained in:
parent
1551af9386
commit
a34ea3ac4d
@ -62,7 +62,7 @@ function getRunPHPDirectory() {
|
||||
for PHP_TEST_DIR in "${LIST_OF_DIRS[@]}"; do
|
||||
RESULT_DIR=$(find "$PHP_TEST_DIR" -name 'php*-fpm.sock' -type s -exec dirname {} \; 2>/dev/null | sort | head -n1)
|
||||
if [[ -d "$RESULT_DIR" ]]; then
|
||||
echo "$RESULT_DIR"
|
||||
echo "$RESULT_DIR/"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user