From 82f84fb602b46a332ce91bddd967c5ca10b6ebaf Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 4 Jun 2015 13:52:33 +1200 Subject: No real need to use use test over [...] --- 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 d12d5802..ac437add 100644 --- a/bash/bash_logout +++ b/bash/bash_logout @@ -1,5 +1,5 @@ # Ensure we're using at least version 2.05 -if ! test -n "$BASH_VERSINFO" ; then +if ! [ -n "$BASH_VERSINFO" ] ; then return elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} == 2)) && \ ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 4)) ; then -- cgit v1.2.3