summaryrefslogtreecommitdiff
path: root/src/is_built
diff options
context:
space:
mode:
Diffstat (limited to 'src/is_built')
-rwxr-xr-xsrc/is_built2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/is_built b/src/is_built
index 92b44f8..6aa9b66 100755
--- a/src/is_built
+++ b/src/is_built
@@ -34,7 +34,7 @@ result=$(vercmp "${pver}" "${ver}")
# 0 : pver = ver
# 1 : pver > ver
-if [[ $result >= 0 ]] && [[ $r == 0 ]]; then
+if [[ $result -ge 0 ]] && [[ $r -eq 0 ]]; then
exit 0
else
exit 1