From 05acd7065887b777a1876962207a9b08037a40eb Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 14 Jul 2017 16:53:28 +0200 Subject: [PATCH] Fix reading status prop for cutom pools --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig index 7e6dd0a..2f59838 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig @@ -54,7 +54,7 @@ _EOF } $OUT .= "# Custom PHP pools\n"; foreach my $pool ($p->get_all_by_prop(type => 'pool')){ - next if ($pool->prop('status' || 'enabled') ne 'enabled'); + next if (($pool->prop('status') || 'enabled') ne 'enabled'); my $key = $pool->key; my $ver = $pool->prop('Version') || ''; $OUT .=<<_EOF;