Update index.py

This commit is contained in:
midoks
2022-10-05 20:51:38 +08:00
parent aaf3389460
commit 78bdcb79c8
+1 -1
View File
@@ -319,7 +319,7 @@ def appOp(method):
file = initDreplace()
if not mw.isAppleSystem():
data = mw.execShell('systemctl ' + method + ' gogs')
data = mw.execShell('systemctl ' + method + ' ' + getPluginName())
if data[1] == '':
return 'ok'
return 'fail'