commit bash-20110812 snapshot

This commit is contained in:
Chet Ramey
2012-01-09 08:25:20 -05:00
parent 02c7ca1d06
commit f308cbc4f2
6 changed files with 87 additions and 61 deletions
+1 -1
View File
@@ -2497,7 +2497,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 ();