summaryrefslogtreecommitdiffstats
path: root/scripts/init.d/cgconfig
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2009-03-03 20:21:02 +0530
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-03-04 15:22:49 +0530
commit19da8166649f449e2762aacdeedcbfefe4ef5c5c (patch)
tree9fcc9f4a7027b75c692c78e988159297aef95a18 /scripts/init.d/cgconfig
parent2b96be57553709e88783791dee19f353c62fd76e (diff)
downloadlibcg-19da8166649f449e2762aacdeedcbfefe4ef5c5c.tar.gz
libcg-19da8166649f449e2762aacdeedcbfefe4ef5c5c.tar.xz
libcg-19da8166649f449e2762aacdeedcbfefe4ef5c5c.zip
libcgroup: Dont check for success of moved tasks
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>
Diffstat (limited to 'scripts/init.d/cgconfig')
-rw-r--r--scripts/init.d/cgconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init.d/cgconfig b/scripts/init.d/cgconfig
index ad490ce..5b59786 100644
--- a/scripts/init.d/cgconfig
+++ b/scripts/init.d/cgconfig
@@ -130,7 +130,7 @@ start() {
done
done
- [ $? == 0 ] && touch /var/lock/subsys/$servicename
+ touch /var/lock/subsys/$servicename
return $?
}