]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
unset locale when using a-z patterns
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 24 Nov 2012 12:34:31 +0000 (12:34 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 24 Nov 2012 12:34:31 +0000 (12:34 +0000)
svn-id: @12602

rc.d/rc.sysinit

index 5daa8a465e406c35a939262267b477e1290b3d10..6b33113b31937309ca7cfc52b1db67928a41fadc 100755 (executable)
@@ -810,7 +810,7 @@ if ! is_yes "$VSERVER"; then
        # option is removed from /etc/mtab
        if [ -z "$fastboot" ] && grep "^[^#].*encryption=" /etc/fstab 2>/dev/null | grep -v -q "noauto" 2>/dev/null; then
                show "Checking encrypted filesystems"; started
-               LOOPLIST="$(awk '
+               LOOPLIST="$(LC_ALL=C awk '
                FILENAME=="/proc/mounts" {
                        TAB[$2]=$1;
                }
@@ -853,7 +853,7 @@ if ! is_yes "$VSERVER"; then
                fi
 
                show "Remounting encrypted filesystems back in rw mode"; busy
-               awk '
+               LC_ALL=C awk '
                FILENAME=="/proc/mounts" {
                        TAB[$2]=$1;
                }
This page took 0.045063 seconds and 4 git commands to generate.