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

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jul 3 18:27:09 UTC 2013


Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> 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

(Note, on irc he managed to explain to me why I was wrong, patch is
now upstream :)




More information about the lxc-devel mailing list