diff --git a/app/models/operatingsystems/debian.rb b/app/models/operatingsystems/debian.rb index efa6733c3f4..705b3ec7e58 100644 --- a/app/models/operatingsystems/debian.rb +++ b/app/models/operatingsystems/debian.rb @@ -81,7 +81,7 @@ def guess_os def is_subiquity? return false if guess_os != "ubuntu" return false if major.to_i < 20 - return false if major.to_i == 20 && minor.to_i <= 2 + return false if major.to_i == 20 && minor.present? && minor.to_i <= 2 true # Ubuntu release 20.04.3 or newer end