Bug 10320

Summary: Missing redirection in autofs-3.1.3-9
Product: [Retired] Red Hat Linux Reporter: leonb
Component: autofsAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-23 23:55:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description leonb 2000-03-23 23:13:00 UTC
Command grep on line 59 of /etc/rc.d/init.d/autofs
lacks redirection to /dev/null.  Should read as:

if echo $map | grep -- ':' >/dev/null 2>&1 ; then

Alternatively you may use option -q in grep.

- Leon

Comment 1 Nalin Dahyabhai 2000-03-23 23:55:59 UTC
This should already be fixed in the version of autofs in Raw Hide
(ftp://ftp.redhat.com/pub/rawhide/i386/RedHat/RPMS/).  If you find
that it isn't fixed if you upgrade, please reopen this bug.