From cc0bf87295e7df3405d3c1d823b1c8598ad8a40c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 27 May 2014 17:01:29 +1200 Subject: Use consistent form of version checks --- bash/bash_logout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bash_logout') 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 -- cgit v1.2.3