SVN: rc-scripts/trunk/rc.d/init.d/cpusets

baggins baggins at pld-linux.org
Thu Feb 10 17:37:06 CET 2011


Author: baggins
Date: Thu Feb 10 17:37:06 2011
New Revision: 12138

Modified:
   rc-scripts/trunk/rc.d/init.d/cpusets
Log:
- added missing slash


Modified: rc-scripts/trunk/rc.d/init.d/cpusets
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/cpusets	(original)
+++ rc-scripts/trunk/rc.d/init.d/cpusets	Thu Feb 10 17:37:06 2011
@@ -82,7 +82,7 @@
 	. /etc/sysconfig/cpusets/cpuset-$i
 
 	# This MUST be rmdir (not rm -rf)
-	if rmdir "${CGDIR}${NAME}" >/dev/null 2>&1 ; then
+	if rmdir "${CGDIR}/${NAME}" >/dev/null 2>&1 ; then
 		return 0
 	else
 		return 1


More information about the pld-cvs-commit mailing list