commit 701becace97efefa70e279643f1a45e9bbefb5b7
parent 92b696efcf66301d89d553ad8a3ae75a6ad10149
Author: oblique <psyberbits@gmail.com>
Date: Sun, 17 Aug 2014 04:43:35 +0300
fix a typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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!"