We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbf2d50 commit 9a887caCopy full SHA for 9a887ca
php-fpm-healthcheck
@@ -77,7 +77,7 @@ get_fpm_status() {
77
check_fpm_health_by() {
78
OPTION=$(echo "$1" | sed 's/--//g; s/-/ /g;')
79
VALUE_EXPECTED="$2";
80
- VALUE_ACTUAL=$(echo "$FPM_STATUS" | grep "^$OPTION" | cut -d: -f2 | sed 's/ //g')
+ VALUE_ACTUAL=$(echo "$FPM_STATUS" | grep "^$OPTION:" | cut -d: -f2 | sed 's/ //g')
81
82
if test "$VERBOSE" = 1; then printf "'%s' value '%s' and expected is less than '%s'\\n" "$OPTION" "$VALUE_ACTUAL" "$VALUE_EXPECTED"; fi;
83
0 commit comments