[201911][mellanox]Fix CPLD upgrade script (#13240)
Modified the skip check to be greater than or equal to compared to equal to previously
This commit is contained in:
parent
757130c027
commit
2a8153a0b2
@ -301,7 +301,7 @@ function UpgradeCPLDFW() {
|
||||
ExitFailure "could not retrieve current CPLD firmware version"
|
||||
fi
|
||||
|
||||
if [[ "${_CURRENT_CPLD_VERSION}" = "${_TARGET_CPLD_VERSION}" ]]; then
|
||||
if [[ "${_CURRENT_CPLD_VERSION}" -ge "${_TARGET_CPLD_VERSION}" ]]; then
|
||||
LogInfo "CPLD firmware is up to date"
|
||||
return "${EXIT_SUCCESS}"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user