From db31da44a34b96e4c242a737a7cb1bdea2c3ce1c Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Tue, 16 Dec 2008 17:29:38 +0000 Subject: libcgroup: Add default group to cgconfig From: Balbir Singh As discussed in the previous thread http://article.gmane.org/gmane.comp.lib.libcg.devel/139, we don't have the concept of default groups and tasks should be able to return back to their default group when done. Here is a fix to the cgconfig script to fix the issue. Please review, comment on it. Signed-off-by: Balbir Singh Signed-off-by: Dhaval Giani git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@238 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- scripts/init.d/cgconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/init.d/cgconfig b/scripts/init.d/cgconfig index 58dee65..507320f 100644 --- a/scripts/init.d/cgconfig +++ b/scripts/init.d/cgconfig @@ -147,7 +147,7 @@ move_all_to_init_class() { exit 1 fi - for i in `find . -type d` + for i in `find . -depth -type d` do case $i in '.') -- cgit