aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-08-22 19:16:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-08-22 19:16:33 +1200
commit00e930f39caefd2f73d5af38e2ccab720201d857 (patch)
tree85e804f07e63815dc2fbc45de933d9c7c4853454 /bash/bash_logout
parentRemove overkill chopping on BASH_VERSINFO[0] (diff)
downloaddotfiles-00e930f39caefd2f73d5af38e2ccab720201d857.tar.gz
dotfiles-00e930f39caefd2f73d5af38e2ccab720201d857.zip
Correct a version checking integer
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 f0985687..ae6ab015 100644
--- a/bash/bash_logout
+++ b/bash/bash_logout
@@ -2,7 +2,7 @@
if ! [ -n "$BASH_VERSINFO" ] ; then
return
elif ((BASH_VERSINFO[0] == 2)) && \
- ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 4)) ; then
+ ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then
return
fi