Blame SOURCES/bash-4.2-rc2-logout.patch

e6eb8e
diff --git a/config-top.h b/config-top.h
e6eb8e
index 026d4a4..cb0e002 100644
e6eb8e
--- a/config-top.h
e6eb8e
+++ b/config-top.h
e6eb8e
@@ -92,7 +92,7 @@
e6eb8e
 /* #define SYS_BASHRC "/etc/bash.bashrc" */
e6eb8e
 
e6eb8e
 /* System-wide .bash_logout for login shells. */
e6eb8e
-/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
e6eb8e
+#define SYS_BASH_LOGOUT "/etc/bash.bash_logout"
e6eb8e
 
e6eb8e
 /* Define this to make non-interactive shells begun with argv[0][0] == '-'
e6eb8e
    run the startup files when not in posix mode. */
e6eb8e
diff --git a/doc/bash.1 b/doc/bash.1
e6eb8e
index 04ce845..bfde55e 100644
e6eb8e
--- a/doc/bash.1
e6eb8e
+++ b/doc/bash.1
e6eb8e
@@ -335,8 +335,8 @@ option may be used when the shell is started to inhibit this behavior.
e6eb8e
 When an interactive login shell exits,
e6eb8e
 or a non-interactive login shell executes the \fBexit\fP builtin command,
e6eb8e
 .B bash
e6eb8e
-reads and executes commands from the file \fI~/.bash_logout\fP, if it
e6eb8e
-exists.
e6eb8e
+reads and executes commands from the files \fI~/.bash_logout\fP
e6eb8e
+and \fI/etc/bash.bash_logout\fP, if the files exists.
e6eb8e
 .PP
e6eb8e
 When an interactive shell that is not a login shell is started,
e6eb8e
 .B bash
e6eb8e
@@ -10558,6 +10558,9 @@ The \fBbash\fP executable
e6eb8e
 .FN /etc/profile
e6eb8e
 The systemwide initialization file, executed for login shells
e6eb8e
 .TP
e6eb8e
+.FN /etc/bash.bash_logout
e6eb8e
+The systemwide login shell cleanup file, executed when a login shell exits
e6eb8e
+.TP
e6eb8e
 .FN ~/.bash_profile
e6eb8e
 The personal initialization file, executed for login shells
e6eb8e
 .TP
e6eb8e
-- 
e6eb8e
2.9.3
e6eb8e