From 75d2804167d3a7cfb5ec6cce6cd8cb8b57f8a82f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Jun 2013 12:12:29 -0600 Subject: '>'/'<' do lexicographic comparison, we want integer --- jh.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jh.sh.in') diff --git a/jh.sh.in b/jh.sh.in index 0d0b9f6..d946da7 100644 --- a/jh.sh.in +++ b/jh.sh.in @@ -14,7 +14,7 @@ if [[ -z $jh_short ]]; then fi main() { - if [[ $# < 1 ]]; then + if [[ $# -lt 1 ]]; then jh-help >>/dev/stderr return 1; fi -- cgit v1.2.2