mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to use the same format when comparing versions
This commit is contained in:
@@ -183,10 +183,10 @@ if ($letsencrypt_cmd) {
|
||||
my $server_flags = "";
|
||||
my $subset_flags = "";
|
||||
$key_type ||= $config{'letsencrypt_algo'} || 'rsa';
|
||||
if (&compare_version_numbers($cmd_ver, 1.11) < 0) {
|
||||
if (&compare_version_numbers($cmd_ver, '<', 1.11)) {
|
||||
$old_flags = " --manual-public-ip-logging-ok";
|
||||
}
|
||||
if (&compare_version_numbers($cmd_ver, 2.0) >= 0) {
|
||||
if (&compare_version_numbers($cmd_ver, '>=', 2.0)) {
|
||||
$new_flags = " --key-type ".quotemeta($key_type);
|
||||
}
|
||||
if ($reuse_key) {
|
||||
|
||||
Reference in New Issue
Block a user