提交 3f81f8e4 编写于 作者: E Eric Blake 提交者: Daniel Veillard

cgroup: silence coverity warning

Coverity noted that most clients reacted to failure to hash; but in
a best-effort kill loop, we can ignore failure.

* src/util/cgroup.c (virCgroupKillInternal): Ignore hash failure.
上级 dd0c42ab
......@@ -1395,7 +1395,7 @@ static int virCgroupKillInternal(virCgroupPtr group, int signum, virHashTablePtr
done = false;
}
virHashAddEntry(pids, (void*)pid, (void*)1);
ignore_value(virHashAddEntry(pids, (void*)pid, (void*)1));
}
VIR_FORCE_FCLOSE(fp);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册