Update index.py

pull/618/head
Mr Chen 10 months ago
parent b4c00a2d27
commit ad49cadfb8
  1. 4
      plugins/zabbix/index.py

@ -399,10 +399,10 @@ def installPreInspection():
sysName = sys[0].strip().lower()
sysId = sys_id[0].strip().lower()
if not sysName in ['debain','centos']:
if not sysName in ['debian','centos']:
return '不支持该系统'
if sysName == 'debain' and not sysId in ['12']:
if sysName == 'debian' and not sysId in ['12']:
return '不支持,'+sysName+'['+sysId+'],仅支持debian12!'
openresty_dir = mw.getServerDir() + "/openresty"

Loading…
Cancel
Save