[lxc-devel] [PATCH] tests/startone: wrong set_cgroup_item check

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jul 3 14:47:02 UTC 2013


Quoting Purcareata Bogdan-B43198 (B43198 at freescale.com):
> So lxcapi_set_cgroup_item() shouldn't return ret instead of (ret == 0)?

No.  Then it would return "(bool)0 -> false", whereas currently it
returns "(ret == 0) -> true"

-serge




More information about the lxc-devel mailing list