From 2d14d81e82c12e8d4d52604e9aa9faf917ecb3d9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 16 Aug 2016 21:06:42 +1200 Subject: Use regular BASH_VERSINFO check --- bin/han | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/han') diff --git a/bin/han b/bin/han index 7c495d2b..5aa4a8b5 100755 --- a/bin/han +++ b/bin/han @@ -3,9 +3,7 @@ self=han # Give up completely if no BASH_VERSINFO (<2.0) -if ! [ -n "$BASH_VERSINFO" ] ; then - exit -fi +[ -n "$BASH_VERSINFO" ] || exit # Figure out the options with which we can call help; Bash >=4.0 has an -m # option which prints the help output in a man-page like format. -- cgit v1.2.3