Bash-4.2 patch 16
This commit is contained in:
parent
cf391c36e2
commit
b4a8651a5f
2 changed files with 2 additions and 2 deletions
2
parse.y
2
parse.y
|
|
@ -2499,7 +2499,7 @@ yylex ()
|
|||
We do this only if it is time to do so. Notice that only here
|
||||
is the mail alarm reset; nothing takes place in check_mail ()
|
||||
except the checking of mail. Please don't change this. */
|
||||
if (prompt_is_ps1 && time_to_check_mail ())
|
||||
if (prompt_is_ps1 && parse_and_execute_level == 0 && time_to_check_mail ())
|
||||
{
|
||||
check_mail ();
|
||||
reset_mail_timer ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue