(plugin) os::linux::local - mode pending-updates - add brackets

This commit is contained in:
Stéphane Duret 2023-04-13 08:55:18 +02:00 committed by David Boucher
parent bf243fa98d
commit 06ef28c12c
1 changed files with 1 additions and 1 deletions

View File

@ -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') {