aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_logout')
-rw-r--r--bash/bash_logout2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_logout b/bash/bash_logout
index ac437add..f0985687 100644
--- a/bash/bash_logout
+++ b/bash/bash_logout
@@ -1,7 +1,7 @@
# Ensure we're using at least version 2.05
if ! [ -n "$BASH_VERSINFO" ] ; then
return
-elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} == 2)) && \
+elif ((BASH_VERSINFO[0] == 2)) && \
((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 4)) ; then
return
fi