diff --git a/plugins/php-apt/versions/common.sh b/plugins/php-apt/versions/common.sh index 53ab0feb0..42e859fb4 100644 --- a/plugins/php-apt/versions/common.sh +++ b/plugins/php-apt/versions/common.sh @@ -55,6 +55,6 @@ echo "apt remove -y php${version}-${extName}" php_status=`systemctl status php${version}-fpm | grep inactive` echo "status:$php_status" -if [ "$php_status" != "" ];then +if [ "$php_status" == "" ];then systemctl restart php${version}-fpm fi \ No newline at end of file