SOURCES: netconsole.init - loglevel 9 is invalid

glen glen at pld-linux.org
Wed Jul 26 20:03:50 CEST 2006


Author: glen                         Date: Wed Jul 26 18:03:50 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- loglevel 9 is invalid

---- Files affected:
SOURCES:
   netconsole.init (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/netconsole.init
diff -u SOURCES/netconsole.init:1.2 SOURCES/netconsole.init:1.3
--- SOURCES/netconsole.init:1.2	Sat Jan  7 00:40:17 2006
+++ SOURCES/netconsole.init	Wed Jul 26 20:03:44 2006
@@ -33,8 +33,8 @@
 }
 
 checkconfig() {
-	# kernel uses 15 internally
-	if [ "$LOGLEVEL" -lt 0 -o "${LOGLEVEL}" -gt 15 ]; then
+	# anything above 8 reports invalid argument
+	if [ "$LOGLEVEL" -lt 0 -o "$LOGLEVEL" -gt 8 ]; then
 		eerror "Invalid kernel console loglevel."
 		return 1
 	fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/netconsole.init?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list