mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
(plugin) os::linux::local - mode pending-updates - add brackets
This commit is contained in:
parent
21d6a31eee
commit
877d413ed8
@ -104,7 +104,7 @@ sub check_options {
|
|||||||
) {
|
) {
|
||||||
$self->{command} = 'yum';
|
$self->{command} = 'yum';
|
||||||
$self->{command_options} = 'check-update 2>&1';
|
$self->{command_options} = 'check-update 2>&1';
|
||||||
if defined($self->{option_results}->{check_security}) {
|
if (defined($self->{option_results}->{check_security})) {
|
||||||
$self->{command_options} = '-q updateinfo list sec'
|
$self->{command_options} = '-q updateinfo list sec'
|
||||||
}
|
}
|
||||||
} elsif ($self->{option_results}->{os_mode} eq 'debian') {
|
} elsif ($self->{option_results}->{os_mode} eq 'debian') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user