(plugin) os::linux::local - mode pending-updates - add brackets
This commit is contained in:
parent
bf243fa98d
commit
06ef28c12c
|
@ -104,7 +104,7 @@ sub check_options {
|
|||
) {
|
||||
$self->{command} = 'yum';
|
||||
$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'
|
||||
}
|
||||
} elsif ($self->{option_results}->{os_mode} eq 'debian') {
|
||||
|
|
Loading…
Reference in New Issue