commit bash-20200630 snapshot

This commit is contained in:
Chet Ramey
2020-07-06 10:40:37 -04:00
parent dd4e3abc5c
commit 51f1f17b4a
9 changed files with 72 additions and 23 deletions
+5 -2
View File
@@ -237,8 +237,11 @@ static sighandler
alrm_catcher(i)
int i;
{
printf (_("\007timed out waiting for input: auto-logout\n"));
fflush (stdout);
char *msg;
msg = _("\007timed out waiting for input: auto-logout\n");
write (1, msg, strlen (msg));
bash_logout (); /* run ~/.bash_logout if this is a login shell */
jump_to_top_level (EXITPROG);
SIGRETURN (0);