diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-08-22 19:16:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-08-22 19:16:33 +1200 |
commit | 00e930f39caefd2f73d5af38e2ccab720201d857 (patch) | |
tree | 85e804f07e63815dc2fbc45de933d9c7c4853454 /bash/bash_logout | |
parent | Remove overkill chopping on BASH_VERSINFO[0] (diff) | |
download | dotfiles-00e930f39caefd2f73d5af38e2ccab720201d857.tar.gz dotfiles-00e930f39caefd2f73d5af38e2ccab720201d857.zip |
Correct a version checking integer
Diffstat (limited to 'bash/bash_logout')
-rw-r--r-- | bash/bash_logout | 2 |
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 |