提交 7c9dcfed 编写于 作者: L Laine Stump

util: remove test code accidentally committed to virFirewallDZoneExists

Just before pushing the series containing commit 3bba4825 I had added
a "return true" to the top of virFirewallDZoneExists() to measure the
impact of calling that function once per network during startup. I
found that the effect was minimal, but forgot to remove the "return
true" before pushing. This unfortunately causes a failure to start
networks on systems that have a firewalld version that doesn't support
our libvirt zone file (i.e. pretty much everyone).

This patch removes the unintended line.
Signed-off-by: NLaine Stump <laine@laine.org>
上级 18795687
......@@ -235,8 +235,6 @@ virFirewallDZoneExists(const char *match)
char **zones = NULL;
bool result = false;
return true;
if (virFirewallDGetZones(&zones, &nzones) < 0)
goto cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册