fix 更新log

This commit is contained in:
thsrite 2023-10-10 13:41:39 +08:00
parent 48dcc3ee1b
commit 7e3f25879f

View File

@ -211,7 +211,7 @@ class CustomHosts(_PluginBase):
# 添加新的Hosts
system_hosts.add(new_entrys)
system_hosts.write()
logger.info("更新系统hosts文件成功")
logger.info("更新系统hosts文件成功容器运行则更新容器hosts")
except Exception as err:
err_flag = True
logger.error(f"更新系统hosts文件失败{str(err) or '请检查权限'}")