[Pkg-sysvinit-commits] r1938 - sysvinit/trunk/debian/src/initscripts/etc/init.d

Petter Reinholdtsen pere at alioth.debian.org
Sat Jul 3 06:42:11 UTC 2010


Author: pere
Date: 2010-07-03 06:42:10 +0000 (Sat, 03 Jul 2010)
New Revision: 1938

Modified:
   sysvinit/trunk/debian/src/initscripts/etc/init.d/urandom
Log:
Use LC_ALL and not LANG to ensure the ls output format.

Modified: sysvinit/trunk/debian/src/initscripts/etc/init.d/urandom
===================================================================
--- sysvinit/trunk/debian/src/initscripts/etc/init.d/urandom	2010-07-02 23:22:09 UTC (rev 1937)
+++ sysvinit/trunk/debian/src/initscripts/etc/init.d/urandom	2010-07-03 06:42:10 UTC (rev 1938)
@@ -36,7 +36,7 @@
 	if [ -f "$SAVEDFILE" ]
 	then
 		# Handle locally increased pool size
-		set -- $(LANG=C ls -l "$SAVEDFILE")
+		set -- $(LC_ALL=C ls -l "$SAVEDFILE")
 		SAVEDSIZE="$5"
 		if [ "$SAVEDSIZE" -gt "$POOLSIZE" ]
 		then




More information about the Pkg-sysvinit-commits mailing list