From 4f7df4b3c379e11d15cb38f9612ca966afbfaf70 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 28 Jun 2023 14:58:45 +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 4ac40ab98..ee9919466 100755 --- a/plugins/nezha/index.py +++ b/plugins/nezha/index.py @@ -102,7 +102,7 @@ class App: " |grep -v grep | grep -v nezha-agent | grep -v python | awk '{print $2}'" data = mw.execShell(cmd) if data[0] == '': - return 'stop' + return self.status_agent() return 'start' def status_agent(self):