If cgconfig.conf file is empty, there should be no error message if ve start cgconfig service. Attached patch fixes theis problem.
Signed-off-by: Ivana Varekova <[email protected]> --- config.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/config.c b/config.c index b188985..7e98e53 100644 --- a/config.c +++ b/config.c @@ -477,7 +477,7 @@ int cgroup_config_load_config(const char *pathname) goto err_mnt; error = cgroup_init(); - if (error) + if ((error) && !((error=ECGROUPNOTMOUNTED) && (cgroup_table_index==0))) goto err_mnt; error = cgroup_config_create_groups(); ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
