diff options
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 299d82eea4..007018835d 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1211,7 +1211,7 @@ govercomp() { for ((i = 0; i < ${#ver1[@]}; i++)); do if [ "${ver1[i]}" -gt "${ver2[i]}" ]; then return 1 - elif [ "${ver1[i]}" -gt "${ver2[i]}" ]; then + elif [ "${ver2[i]}" -gt "${ver1[i]}" ]; then return 2 fi done |