From 98f27498b0d9dc4144ca2023d72cc2bfbc599995 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 28 Jun 2023 01:57:06 +0800 Subject: [PATCH] Update index.py --- plugins/nezha/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nezha/index.py b/plugins/nezha/index.py index 3481ac1a8..c3c502ef9 100755 --- a/plugins/nezha/index.py +++ b/plugins/nezha/index.py @@ -99,7 +99,7 @@ class App: def status(self): cmd = "ps -ef|grep " + self.getPluginName() + \ - " |grep -v grep | grep -v python | awk '{print $2}'" + " |grep -v grep | grep -v nezha-agent | grep -v python | awk '{print $2}'" data = mw.execShell(cmd) if data[0] == '': return 'stop'