aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-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