Signed-off-by: Torben Hohn <torb...@gmx.de>
---
 src/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/config.c b/src/config.c
index 014b2b3..c9bf866 100644
--- a/src/config.c
+++ b/src/config.c
@@ -683,7 +683,7 @@ int cgroup_config_load_config(const char *pathname)
         * The configuration should have either namespace or mount.
         * Not both and not none.
         */
-       if (namespace_enabled == mount_enabled) {
+       if (namespace_enabled && mount_enabled) {
                free(config_cgroup_table);
                return ECGMOUNTNAMESPACE;
        }
-- 
1.7.2.3


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to