Bug 10320 - Missing redirection in autofs-3.1.3-9
Missing redirection in autofs-3.1.3-9
Product: Red Hat Linux
Classification: Retired
Component: autofs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-03-23 18:13 EST by leonb
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-03-23 18:55:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description leonb 2000-03-23 18:13:00 EST
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 18:55:59 EST
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.

Note You need to log in before you can comment on or make changes to this bug.