mirror of
https://github.com/systemd/systemd
synced 2024-07-22 02:34:54 +00:00
cgroup-setup: clarify '<=' is evaluated earlier
Follow-up for 31323f21bb
.
The code is correct, but let's silence Coverity.
Closes CID#1534787.
This commit is contained in:
parent
630023e2e4
commit
9398ef0786
|
@ -106,7 +106,7 @@ bool cg_is_unified_wanted(void) {
|
|||
return (wanted = true);
|
||||
|
||||
/* If any controller is in use as v1, don't use unified. */
|
||||
return (wanted = cg_any_controller_used_for_v1() <= 0);
|
||||
return (wanted = (cg_any_controller_used_for_v1() <= 0));
|
||||
}
|
||||
|
||||
bool cg_is_legacy_wanted(void) {
|
||||
|
|
Loading…
Reference in a new issue