On Fri, Dec 12, 2008 at 05:58:22PM +0530, Balbir Singh wrote:
> The current cgconfig script is broken when it comes to deleting nested
> cgroups. The find command order is incorrect and leads to groups not
> being deleted. The following patch fixes the issue
> 
> 
> Signed-off-by: Balbir Singh <[email protected]>
> 
thanks, merged

> 
> Index: cgconfig
> ===================================================================
> --- cgconfig  (revision 232)
> +++ cgconfig  (working copy)
> @@ -147,7 +147,7 @@
>              exit 1
>          fi
> 
> -        for i in `find . -type d`
> +        for i in `find . -depth -type d`
>          do
>              case $i in
>              '.')
> 
> -- 
>       Balbir

-- 
regards,
Dhaval

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to