aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-05-27 17:01:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2014-05-27 17:01:29 +1200
commitcc0bf87295e7df3405d3c1d823b1c8598ad8a40c (patch)
tree58c0e0ea6478b424b36686775919206b1e766a05 /bash/bash_logout
parentAdd test for urxvt scripts (diff)
downloaddotfiles-cc0bf87295e7df3405d3c1d823b1c8598ad8a40c.tar.gz
dotfiles-cc0bf87295e7df3405d3c1d823b1c8598ad8a40c.zip
Use consistent form of version checks
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 01905f99..730cb45d 100644
--- a/bash/bash_logout
+++ b/bash/bash_logout
@@ -1,5 +1,5 @@
# Give up completely if no BASH_VERSINFO (<2.0)
-if [ -z "$BASH_VERSINFO" ] ; then
+if ! [ "$BASH_VERSINFO" ] ; then
return
fi