packages: libcgroup/cgconfig.init - use printf in awk, we don't want newlin...
baggins
baggins at pld-linux.org
Tue Feb 8 13:41:59 CET 2011
Author: baggins Date: Tue Feb 8 12:41:59 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- use printf in awk, we don't want newline here
---- Files affected:
packages/libcgroup:
cgconfig.init (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/libcgroup/cgconfig.init
diff -u packages/libcgroup/cgconfig.init:1.3 packages/libcgroup/cgconfig.init:1.4
--- packages/libcgroup/cgconfig.init:1.3 Tue Feb 8 13:40:05 2011
+++ packages/libcgroup/cgconfig.init Tue Feb 8 13:41:54 2011
@@ -30,7 +30,7 @@
# Find all mounted subsystems and create comma-separated list
# of controllers.
#
- controllers=`lssubsys 2>/dev/null | awk '{ if (v) v=v","$0 ; else v=$0 } END { print v }'`
+ controllers=`lssubsys 2>/dev/null | awk '{ if (v) v=v","$0 ; else v=$0 } END { printf v }'`
#
# Create the default group, ignore errors when the default group
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcgroup/cgconfig.init?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list