Author: glen
Date: Sun Jan 25 15:58:13 2009
New Revision: 10096

Modified:
   rc-scripts/trunk/rc.d/init.d/cryptsetup
Log:
- LC_ALL=C for greps

Modified: rc-scripts/trunk/rc.d/init.d/cryptsetup
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/cryptsetup     (original)
+++ rc-scripts/trunk/rc.d/init.d/cryptsetup     Sun Jan 25 15:58:13 2009
@@ -141,7 +141,7 @@
     while read dst src key; do
        [ -z "$dst" -o "${dst#\#}" != "$dst" ] && continue
         if [ -b "/dev/mapper/$dst" ]; then
-            if /sbin/dmsetup info "$dst" | grep -q '^Open count: *0$'; then
+            if LC_ALL=C /sbin/dmsetup info "$dst" | grep -q '^Open count: 
*0$'; then
                 /sbin/cryptsetup remove "$dst"
             else
                 fnval=1
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to