Package: autofs
Version: 4.1.3+4.1.4beta2-2
Severity: grave

The diff for etc/init.d/autofs includes:
 #
 # Check for all maps that are to be loaded
 #
 function getschemes()
 {
-    if grep -q ^automount: /etc/nsswitch.conf; then
+    if grep -q '^automount:[ \t]' /etc/nsswitch.conf; then
         grep ^automount: /etc/nsswitch.conf | \
                 sed -e 's/^.*://' -e 's/\[.*\]/ /g'
     else
         echo files
     fi
 }

However, the new grep is broken:

| [EMAIL PROTECTED]:~$ grep '^automount:[ \t]' /etc/nsswitch.conf
| [EMAIL PROTECTED]:~$ grep '^automount:[       ]' /etc/nsswitch.conf
                                    ^^^^ < that's a tab
| automount:    files nis


-- 
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to