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