Update index.py

pull/618/head
Mr Chen 10 months ago
parent 43bab2a80e
commit 7fbc7bef5e
  1. 6
      plugins/zabbix_agent/index.py

@ -107,8 +107,10 @@ def initAgentConf():
mw.writeFile(za_dst_path, content)
def initDreplace():
initAgentConf()
init_file = getServerDir() + '/init.pl'
if not os.path.exists(init_file):
initAgentConf()
mw.writeFile(init_file, 'ok')
return True

Loading…
Cancel
Save