From c5a85aed3c1e97fd72498e66507e10c7d0d44c95 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 11 Oct 2015 14:33:37 +1300 Subject: Correct a version check in han(1) --- bin/han | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/han') diff --git a/bin/han b/bin/han index 0d2f6755..755710d5 100755 --- a/bin/han +++ b/bin/han @@ -24,8 +24,8 @@ self=han # Give up completely if no BASH_VERSINFO (<2.0) -if ! test "$BASH_VERSINFO" ; then - return +if ! [ -n "$BASH_VERSINFO" ] ; then + exit fi # Figure out the options with which we can call help; Bash >=4.0 has an -m -- cgit v1.2.3