SVN: rc-scripts/trunk/rc.d/rc.sysinit

glen glen at pld-linux.org
Sun Sep 1 23:46:38 CEST 2013


Author: glen
Date: Sun Sep  1 23:46:38 2013
New Revision: 12719

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
localize $cmdline in parse_cmdnline

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Sun Sep  1 23:46:38 2013
@@ -53,8 +53,8 @@
 # parse kernel cmdline
 # needs /proc mounted
 parse_cmdline() {
+	local arg cmdline
 	read cmdline < /proc/cmdline
-	local arg
 
 	for arg in $cmdline; do
 		case "$arg" in


More information about the pld-cvs-commit mailing list