]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
libcgroup: Dont check for success of moved tasks
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Tue, 3 Mar 2009 14:51:02 +0000 (20:21 +0530)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 4 Mar 2009 09:52:49 +0000 (15:22 +0530)
Sometime the movement of tasks in the default cgroup can fail for
various reasons. Therefore, do not check for the success of the
movement of tasks.

Justification: These are generally for cgroups which need some special
setup, for example the RT group scheduler. This is not handled by the
library whihc is generic. If a user is intersted in these working, they
will setup a default cgroup in the config files whihc handle everything
they need.

Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Tested-by: Jan Safranek <jsafrane@redhat.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
scripts/init.d/cgconfig

index ad490ce771061e1a6653d77141e2c559e006a043..5b59786dd1f6bd1f7c631291700b718cd31eb0ec 100644 (file)
@@ -130,7 +130,7 @@ start() {
             done
         done
        
-        [ $? == 0 ] && touch /var/lock/subsys/$servicename
+        touch /var/lock/subsys/$servicename
         return $?
 }