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