mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-24 02:08:09 +02:00
Fix #1608
This commit is contained in:
parent
8625a86401
commit
3421c4cd67
@ -102,7 +102,7 @@ sub check_options {
|
|||||||
$self->{option_results}->{ssl_opt} = ['SSL_verify_mode => SSL_VERIFY_NONE'];
|
$self->{option_results}->{ssl_opt} = ['SSL_verify_mode => SSL_VERIFY_NONE'];
|
||||||
$self->{ssl_opts} = 'SSL_verify_mode => SSL_VERIFY_NONE';
|
$self->{ssl_opts} = 'SSL_verify_mode => SSL_VERIFY_NONE';
|
||||||
} else {
|
} else {
|
||||||
foreach (keys @{$self->{option_results}->{ssl_opt}}) {
|
foreach (@{$self->{option_results}->{ssl_opt}}) {
|
||||||
$self->{ssl_opts} .= "$_, ";
|
$self->{ssl_opts} .= "$_, ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user