From 94830659e962adba9dbae3992717c7a3d8883ca5 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 24 Sep 2024 14:11:46 +0800 Subject: [PATCH] Update index_php_yum.py --- plugins/php-yum/index_php_yum.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/php-yum/index_php_yum.py b/plugins/php-yum/index_php_yum.py index 5172ae9f4..8ade2ed75 100755 --- a/plugins/php-yum/index_php_yum.py +++ b/plugins/php-yum/index_php_yum.py @@ -66,8 +66,7 @@ def getPhpSocket(version): def status(version): # ps -ef|grep 'php/81' |grep -v grep | grep -v python | awk '{print $2} - cmd = "ps -ef|grep 'remi/php" + version + \ - "' |grep -v grep | grep -v python | awk '{print $2}'" + cmd = "ps -ef|grep 'remi/php" + version + "' |grep -v grep | grep -v python | awk '{print $2}'" data = mw.execShell(cmd) if data[0] == '': return 'stop'