Bug 985771

Summary: manpage of bash may need an update
Product: [Fedora] Fedora Reporter: hw
Component: bashAssignee: Ondrej Oprala <ooprala>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: admiller, hw, ooprala, ovasik, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-01 10:57:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hw 2013-07-18 08:24:14 UTC
The man page of bash states:


       MAILCHECK
              Specifies how often (in seconds) bash checks for mail.  The
              default  is 60 seconds.  When it is time to check for mail,
              the shell does so before displaying the primary prompt.  If
              this  variable  is  unset,  or set to a value that is not a
              number greater than or equal to zero,  the  shell  disables
              mail checking.


Checking for mail remains enabled when MAILCHECK is set to zero.  Setting MAILCHECK to -1 disables the mail check (or at least the message that you have new mail).

Comment 1 Fedora Admin XMLRPC Client 2013-10-07 11:47:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Ondrej Oprala 2014-04-01 10:57:07 UTC
MAILCHECK=0 is supposed to keep the mail check enabled, just read the sentence one more time perhaps. Let me rewrite part of that man page for you in pseudo-code:

if $MAILCHECK >= 0
  MAILCHECK_ENABLED = true;
else
  MAILCHECK_ENABLED = false;