From 701becace97efefa70e279643f1a45e9bbefb5b7 Mon Sep 17 00:00:00 2001 From: oblique Date: Sun, 17 Aug 2014 04:43:35 +0300 Subject: [PATCH] fix a typo --- create_ap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_ap b/create_ap index f781957..a7350b1 100755 --- a/create_ap +++ b/create_ap @@ -58,7 +58,7 @@ usage() { # returns: # 0 if v1 (1st argument) and v2 (2nd argument) are the same # 1 if v1 is less than v2 -# 2 if v2 is greater than v2 +# 2 if v1 is greater than v2 version_cmp() { [[ ! $1 =~ ^[0-9]+(\.[0-9]+)*$ ]] && die "Wrong version format!" [[ ! $2 =~ ^[0-9]+(\.[0-9]+)*$ ]] && die "Wrong version format!"