From 7220e116cbd15eacd3503184809ac07ee0ab1bb0 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Tue, 8 Apr 2014 16:03:39 +0530 Subject: [PATCH] Fixed If Statements --- usr/local/sbin/easyengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 7afb8f21..4fee812b 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -1681,7 +1681,7 @@ DEBUG_PHP_STOP() fi else grep 9001 /etc/nginx/sites-available/$DOMAIN &>> $INSTALLLOG - if [ $? -ne 0 ] + if [ $? -eq 0 ] then echo -e "\033[34mDisable PHP5-FPM Slow Log For $DOMAIN, Please Wait...\e[0m" sed -i "s/fastcgi_pass.*/fastcgi_pass php;/g" /etc/nginx/sites-available/$DOMAIN